This commit is contained in:
brianc 2011-08-29 02:35:56 -05:00
commit 844831fb8e
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ var NativeQuery = function(text, values, callback) {
this.name = text.name;
if(typeof values === 'function') {
this.callback = values;
} else if(typeof values !== 'undefined') {
} else if(values) {
this.values = values;
this.callback = callback;
}

View File

@ -1,5 +1,5 @@
{ "name": "pg",
"version": "0.5.4",
"version": "0.5.5",
"description": "PostgreSQL client - pure javascript & libpq with the same API",
"keywords" : ["postgres", "pg", "libpq", "postgre", "database", "rdbms"],
"homepage": "http://github.com/brianc/node-postgres",