Created
September 25, 2014 07:38
-
-
Save yorkie/75215ca262619ffbdfe1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pgclient.connect(function () { | |
pgclient.query('select distinct user_id, gender from users where gender == NULL', function (err, resukt) { | |
console.log(result.rows); // [] | |
}); | |
pgclient.query('select distinct user_id, gender from users where gender is NULL', function (err, result) { | |
console.log(result.rows); // [...] | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment