{"action":"opened","issue":{"url":"https://api.github.com/repos/joshcam/PHP-MySQLi-Database-Class/issues/202","labels_url":"https://api.github.com/repos/joshcam/PHP-MySQLi-Database-Class/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/joshcam/PHP-MySQLi-Database-Class/issues/202/comments","events_url":"https://api.github.com/repos/joshcam/PHP-MySQLi-Database-Class/issues/202/events","html_url":"https://github.com/joshcam/PHP-MySQLi-Database-Class/issues/202","id":59509491,"number":202,"title":"NULL comparison not working properly (or documentation error)","user":{"login":"weha","id":5836955,"avatar_url":"https://avatars.githubusercontent.com/u/5836955?v=3","gravatar_id":"","url":"https://api.github.com/users/weha","html_url":"https://github.com/weha","followers_url":"https://api.github.com/users/weha/followers","following_url":"https://api.github.com/users/weha/following{/other_user}","gists_url":"https://api.github.com/users/weha/gists{/gist_id}","starred_url":"https://api.github.com/users/weha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weha/subscriptions","organizations_url":"https://api.github.com/users/weha/orgs","repos_url":"https://api.github.com/users/weha/repos","events_url":"https://api.github.com/users/weha/events{/privacy}","received_events_url":"https://api.github.com/users/weha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T17:01:01Z","updated_at":"2015-03-02T17:01:01Z","closed_at":null,"body":"Documentation:\r\n$db->where (\"lastName\", NULL, '<=>');\r\n$results = $db->get(\"users\");\r\n// Gives: SELECT * FROM users where lastName <=> NULL\r\n\r\nActually gives SELECT * FROM users where lastName <=> \r\nThis works: $db->where (\"lastName\", 'NULL', '<=>');"}}