We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ba903 commit 19b40cbCopy full SHA for 19b40cb
test/test_issue76.js
@@ -3,10 +3,8 @@ exports.test = function(sql, assert) {
3
var db = new sql.Database();
4
// Ultra-simple query
5
var stmt = db.prepare("VALUES (?)");
6
- // Bind null to the parameter
7
- stmt.bind([null]);
8
-
9
- assert.deepEqual(stmt.get(), [null],
+ // Bind null to the parameter and get the result
+ assert.deepEqual(stmt.get([null]), [null],
10
"binding a null value to a statement parameter");
11
db.close();
12
};
0 commit comments