From 1a81952ce763379e26f82e2d36e0866347cdbe1b Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sun, 20 Mar 2022 08:48:48 +0100 Subject: [PATCH] fix --- packages/api/src/shell/executeQuery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/shell/executeQuery.js b/packages/api/src/shell/executeQuery.js index 70398c9c..4c277986 100644 --- a/packages/api/src/shell/executeQuery.js +++ b/packages/api/src/shell/executeQuery.js @@ -5,7 +5,7 @@ async function executeQuery({ connection = undefined, systemConnection = undefin console.log(`Execute query ${sql}`); if (!driver) driver = requireEngineDriver(connection); - const pool = systemConnection || (await connectUtility(driver, connection, 'write')); + const pool = systemConnection || (await connectUtility(driver, connection, 'script')); console.log(`Connected.`); await driver.script(pool, sql);