Closed glennjacobs closed 10 years ago
Been using the Timestamps trait and I get an error when running a query.
The following line appears to be the problem
return "{$table}.deleted_at IS NULL || NOW() < {$table}.deleted_at";
When I change it to this, all seems fine (changed || to OR)
return "{$table}.deleted_at IS NULL OR NOW() < {$table}.deleted_at";
Have added to fix/PR here: https://github.com/mitchellvanw/laravel-doctrine/pull/31
I've also added it in my pull request here #35
This has been added to the filter. Thanks for the suggestion!
Been using the Timestamps trait and I get an error when running a query.
The following line appears to be the problem
When I change it to this, all seems fine (changed || to OR)