import/export log messages

This commit is contained in:
SPRINX0\prochazka
2025-03-04 14:29:52 +01:00
parent 257ffa3cc4
commit 3bf22a8606
9 changed files with 3 additions and 16 deletions

View File

@@ -30,7 +30,6 @@ async function queryReader({
const driver = requireEngineDriver(connection);
const pool = await connectUtility(driver, connection, queryType == 'json' ? 'read' : 'script');
logger.info(`Connected.`);
const reader =
queryType == 'json' ? await driver.readJsonQuery(pool, query) : await driver.readQuery(pool, query || sql);
return reader;