Skip to content

Commit 98014d0

Browse files
committed
tweak to native Client#query overload
1 parent 915b49f commit 98014d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var NativeQuery = function(text, values, callback) {
107107
this.name = text.name;
108108
if(typeof values === 'function') {
109109
this.callback = values;
110-
} else if(typeof values !== 'undefined') {
110+
} else if(values) {
111111
this.values = values;
112112
this.callback = callback;
113113
}

0 commit comments

Comments
 (0)