Yajra dataTable过滤。不工作

时间:2017-08-22 05:25:42

标签: php yajra-datatable

我试图搜索Datatable,但收到此错误:

  

异常消息:↵↵SQLSTATE[42000]:语法错误或访问   违规:1064您的SQL语法有错误;检查手册   对应于您的MySQL服务器版本,以获得正确的语法   在'AS fullname like?)或LOWER(driversstreet_no)附近使用?   或LOWER(第{1行} drivers。`s'

这就是结果查询

'select count(*) as aggregate from (select '1' as `row_count` from `drivers` where (LOWER(`drivers`.`id`) LIKE %fuj% or LOWER(`drivers`.`licence_no`) LIKE %fuj% or (CONCAT(first_name,' ',last_name) AS fullname like %fuj%) or LOWER(`drivers`.`street_no`) LIKE %fuj% or LOWER(`drivers`.`status`) LIKE %fuj%)) count_row_table'.

任何帮助都会非常适合......

由于

0 个答案:

没有答案