Skip to content
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

Null in where() #18

Open
fdcore opened this issue Sep 14, 2015 · 2 comments
Open

Null in where() #18

fdcore opened this issue Sep 14, 2015 · 2 comments

Comments

@fdcore
Copy link

fdcore commented Sep 14, 2015

I have table with field default is null.

id user email
1 name1 [email protected]
2 name2 [email protected]
3 name3 NULL

Query:

SELECT users WHERE email IS NULL

Code:

$db->from('users')->where('email', null)->many();

This code is not work.

@fdcore
Copy link
Author

fdcore commented Sep 14, 2015

fix https://gist.github.com/fdcore/cdaf25375ef3328a5e48

@UDK
Copy link

UDK commented Nov 12, 2019

@fdcore Hi, why didn’t you make your decision through pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants