mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 23:46:23 +00:00
integration tests WIP
This commit is contained in:
@@ -63,6 +63,9 @@ const driver = {
|
||||
|
||||
return tediousConnect(conn);
|
||||
},
|
||||
async close(pool) {
|
||||
return pool.close();
|
||||
},
|
||||
async queryCore(pool, sql, options) {
|
||||
if (pool._connectionType == 'msnodesqlv8') {
|
||||
return nativeQueryCore(pool, sql, options);
|
||||
|
||||
@@ -113,6 +113,9 @@ const drivers = driverBases.map(driverBase => ({
|
||||
await client.connect();
|
||||
return client;
|
||||
},
|
||||
async close(pool) {
|
||||
return pool.end();
|
||||
},
|
||||
async query(client, sql) {
|
||||
if (sql == null) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user