mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 02:06:01 +00:00
next e2e tests
This commit is contained in:
@@ -114,6 +114,15 @@ const driver = {
|
||||
},
|
||||
// @ts-ignore
|
||||
async query(dbhan, sql) {
|
||||
const parts = splitCommandLine(sql);
|
||||
|
||||
if (parts.length >= 1) {
|
||||
const command = parts[0].toLowerCase();
|
||||
const args = parts.slice(1);
|
||||
await dbhan.client.call(command, ...args);
|
||||
}
|
||||
|
||||
// redis queries don't return rows
|
||||
return {
|
||||
rows: [],
|
||||
columns: [],
|
||||
|
||||
Reference in New Issue
Block a user