📜  laravel 绑定查询 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:53.056000             🧑  作者: Mango

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

$sql = $query->toSql();

$bindings = $query->getBindings();