redis load keys fix

This commit is contained in:
SPRINX0\prochazka
2024-10-10 07:53:41 +02:00
parent cbd6ce7872
commit de97404602

View File

@@ -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);