Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel bindings query

$query = DB::table('table')->whereIn('some_field', [1,2,30]);

$sql = $query->toSql();

$bindings = $query->getBindings();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #bindings #query
ADD COMMENT
Topic
Name
6+1 =