Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

pluck in query builder

$tmpRes = DB::table('users')
    ->pluck('username', 'email')
    ->toArray();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pluck #query #builder
ADD COMMENT
Topic
Name
7+5 =