Commit 7b250d8e authored by Alexander Butenko's avatar Alexander Butenko

Merge pull request #413 from avbdr/master

update readme on correct null checks
parents 38535530 28788081
......@@ -377,9 +377,9 @@ $results = $db->get ('users');
NULL comparison:
```php
$db->where ("lastName", NULL, '<=>');
$db->where ("lastName", NULL, 'IS NOT');
$results = $db->get("users");
// Gives: SELECT * FROM users where lastName <=> NULL
// Gives: SELECT * FROM users where lastName IS NOT NULL
```
Also you can use raw where conditions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment