mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 07:56:01 +00:00
redis load keys fix
This commit is contained in:
@@ -168,7 +168,7 @@ const driver = {
|
||||
},
|
||||
|
||||
async loadKeys(dbhan, root = '', filter = null) {
|
||||
const keys = await this.getKeys(dbhan, root ? `${root}${dbhan.__treeKeySeparator}*` : '*');
|
||||
const keys = await this.getKeys(dbhan, root ? `${root}${dbhan.treeKeySeparator}*` : '*');
|
||||
const keysFiltered = keys.filter((x) => filterName(filter, x));
|
||||
const res = this.extractKeysFromLevel(dbhan, root, keysFiltered);
|
||||
await this.enrichKeyInfo(dbhan, res);
|
||||
|
||||
Reference in New Issue
Block a user