fix
Some checks are pending
Run tests / test-runner (push) Waiting to run

This commit is contained in:
SPRINX0\prochazka 2024-10-01 12:42:56 +02:00
parent 52d230b9e2
commit 67f58a8dfe

View File

@ -11,14 +11,8 @@ async function tableWriter({ connection, schemaName, pureName, driver, systemCon
}
const dbhan = systemConnection || (await connectUtility(driver, connection, 'write'));
try {
logger.info(`Connected.`);
return await driver.writeTable(dbhan, { schemaName, pureName }, options);
} finally {
if (!systemConnection) {
await driver.close(dbhan);
}
}
}
module.exports = tableWriter;