redis search keys

This commit is contained in:
Jan Prochazka
2022-03-31 09:44:50 +02:00
parent 1b52a2a0fc
commit fe277f5ffa
7 changed files with 25 additions and 11 deletions

View File

@@ -176,8 +176,8 @@ module.exports = {
},
loadKeys_meta: true,
async loadKeys({ conid, database, root }) {
return this.loadDataCore('loadKeys', { conid, database, root });
async loadKeys({ conid, database, root, filter }) {
return this.loadDataCore('loadKeys', { conid, database, root, filter });
},
exportKeys_meta: true,

View File

@@ -197,8 +197,8 @@ async function handleCollectionData({ msgid, options }) {
return handleDriverDataCore(msgid, driver => driver.readCollection(systemConnection, options));
}
async function handleLoadKeys({ msgid, root }) {
return handleDriverDataCore(msgid, driver => driver.loadKeys(systemConnection, root));
async function handleLoadKeys({ msgid, root, filter }) {
return handleDriverDataCore(msgid, driver => driver.loadKeys(systemConnection, root, filter));
}
async function handleExportKeys({ msgid, options }) {