perspctives: nested incremental loading

This commit is contained in:
Jan Prochazka
2022-07-24 14:23:56 +02:00
parent 53ee1d87c2
commit d48c34a4a5
6 changed files with 174 additions and 32 deletions

View File

@@ -174,6 +174,7 @@ async function handleQueryData({ msgid, sql }, skipReadonlyCheck = false) {
try {
if (!skipReadonlyCheck) ensureExecuteCustomScript(driver);
const res = await driver.query(systemConnection, sql);
// console.log(sql);
process.send({ msgtype: 'response', msgid, ...res });
} catch (err) {
process.send({ msgtype: 'response', msgid, errorMessage: err.message });