📜  带有分页 laravel 多列的 where 子句 - PHP 代码示例

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

代码示例2
"SELECT * FROM students WHERE students.user_id = $id AND (students.name like '%$q%' OR students.last_name Like '%$q%' OR students.email Like '%$q%')"