laravel orm where 条件中 mysql函数 怎么用 INSERT INTO aa (a, b, c, d, e, f, g, h) SELECT id as a, title, c, d, e, f, g, h FROM b WHERE id = 1 这样子可以运行 就是 批量插入的意思 将B表符合条件的记录 插入到aa表中
laravel orm where 条件中 mysql函数$query->whereRaw('LENGTH(code)=12');