Closed SubrataM3 closed 4 years ago
I have the same problem with array inside a where
if you use this:
$this->model->where($criteria)->first();
You will have an error that columns doesn't exist
Solved using: $this->model->where('id', $id)->first()
Error
// another example (gives question mark instead of value) $t = User::where('groupid', '5')->toSql();
But for inserting data with User::Create method works fine.
I am using it on Lumen
Please help.
Thank you.