next e2e tests

This commit is contained in:
SPRINX0\prochazka
2025-01-29 10:59:20 +01:00
parent 9baecaba86
commit b8a51083f8
12 changed files with 169 additions and 11 deletions

View File

@@ -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: [],