Fix Oracle tests.

This commit is contained in:
Sam Rose 2024-11-27 15:52:39 +00:00
parent 525cf2ab09
commit 4feda79903
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -1743,7 +1743,9 @@ class SqlQueryBuilder extends SqlTableQueryBuilder {
return {}
}
const input = this._query({
...json,
datasource: json.datasource,
table: json.table,
tables: json.tables,
endpoint: {
...json.endpoint,
operation: Operation.READ,

View File

@ -486,6 +486,8 @@ class OracleIntegration extends Sql implements DatasourcePlus {
this.log(query.sql, bindings)
const result = await connection.execute(query.sql, bindings, options)
return result as Result<T>
} catch (err) {
throw err
} finally {
if (connection) {
try {