redis export keys

This commit is contained in:
Jan Prochazka
2022-03-27 12:57:44 +02:00
parent c0fdcf2fd1
commit 1f0ae98c88
5 changed files with 43 additions and 0 deletions

View File

@@ -201,6 +201,10 @@ async function handleLoadKeys({ msgid, root }) {
return handleDriverDataCore(msgid, driver => driver.loadKeys(systemConnection, root));
}
async function handleExportKeys({ msgid, options }) {
return handleDriverDataCore(msgid, driver => driver.exportKeys(systemConnection, options));
}
async function handleLoadKeyInfo({ msgid, key }) {
return handleDriverDataCore(msgid, driver => driver.loadKeyInfo(systemConnection, key));
}
@@ -307,6 +311,7 @@ const messageHandlers = {
generateDeploySql: handleGenerateDeploySql,
loadFieldValues: handleLoadFieldValues,
sqlSelect: handleSqlSelect,
exportKeys: handleExportKeys,
// runCommand: handleRunCommand,
};