Commit 28788081 authored by Alexander Butenko's avatar Alexander Butenko

update readme on correct null checks

parent 5fd2d734
......@@ -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