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 2971ab7 commit 7442de2Copy full SHA for 7442de2
test/test.js
@@ -59,7 +59,8 @@ server.on('connection', conn => {
59
const db = mysql.connect()
60
db.q('SELECT * FROM test_table').then(res => console.dir)
61
db.q('SELECT * FROM test_table', {}, true).then((res) => {
62
- db.q('SELECT * FROM test_table', {}, true)
+ db.q('SELECT * FROM test_table', {}, true).then((res) => {
63
+ process.exit(0)
64
+ })
65
console.dir(res)
- process.exit()
66
})
0 commit comments