Null in where()
fdcore opened this issue · 2 comments
fdcore commented
I have table with field default is null.
id | user | |
---|---|---|
1 | name1 | name1@domain.com |
2 | name2 | name2@domain.com |
3 | name3 | NULL |
Query:
SELECT users WHERE email IS NULL
Code:
$db->from('users')->where('email', null)->many();
This code is not work.
fdcore commented