mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 16:46:00 +00:00
redis load keys fix
This commit is contained in:
@@ -168,7 +168,7 @@ const driver = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async loadKeys(dbhan, root = '', filter = null) {
|
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 keysFiltered = keys.filter((x) => filterName(filter, x));
|
||||||
const res = this.extractKeysFromLevel(dbhan, root, keysFiltered);
|
const res = this.extractKeysFromLevel(dbhan, root, keysFiltered);
|
||||||
await this.enrichKeyInfo(dbhan, res);
|
await this.enrichKeyInfo(dbhan, res);
|
||||||
|
|||||||
Reference in New Issue
Block a user