Commit bc5116f8 authored by Alexander Butenko's avatar Alexander Butenko

Add NULL case

parent 41a802eb
......@@ -153,6 +153,13 @@ $results = $db->get('users');
// Gives: SELECT * FROM users WHERE firstName='John' OR firstName='peter'
```
NULL comparison:
```php
$db->where ("lastName", Array("<=>" => NULL));
$results = $db->get("users");
// Gives: SELECT * FROM users where lastName <=> NULL
```
Optionally you can use method chaining to call where multiple times without referencing your object over an over:
```php
......
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