SyntaxFix
Write A Post
Hire A Developer
Questions
The correct answer to that is the method lists, it's very simple like this:
lists
$test=test::select('id')->where('id' ,'>' ,0)->lists('id');
Regards!