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 5cc6c68 commit 71a5b46Copy full SHA for 71a5b46
test/common.js
@@ -47,6 +47,8 @@ common.createConnection = function(config) {
47
return Mysql.createConnection(config);
48
};
49
50
+common.createQuery = Mysql.createQuery;
51
+
52
common.createTestDatabase = function createTestDatabase(connection, callback) {
53
var database = common.testDatabase;
54
test/unit/query/test-stream-before-queue.js
@@ -1,7 +1,7 @@
1
var assert = require('assert');
2
var common = require('../../common');
3
4
-var query = common.Connection.createQuery('SELECT 1');
+var query = common.createQuery('SELECT 1');
5
var stream = query.stream();
6
7
assert.doesNotThrow(function () {
0 commit comments