-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cortex 1.4.2 ['deleted_at =?', null] problems #40
Comments
You're right. I broke this with another commit at a later time. Just fixed and optimized this now in v1.4.3 hotfix. Thanks for reporting. |
Hello Christian! and I get the following error message: |
fixed in the latest commit |
Hello Christian!
It seems that comparison with NULL is not working or I'm doing something wrong (oftenly - the second option T_T).
I have category table with deleted_at filed which is NULL by default.
Usually I used this method to find not deleted categories:
$categories = $category->find(['deleted_at IS NULL']);
But in cortex 1.4.2 this method causes an error. I read the change log and find some new feature like:
array('foo != ?',null)
)So I tried to do like this:
$categories = $category->find(['deleted_at =?', null]);
But the query result was empty.
What am I doing wrong? I do not correctly use the new filter?
The text was updated successfully, but these errors were encountered: