Fix Oracle tests.
This commit is contained in:
parent
525cf2ab09
commit
4feda79903
|
@ -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,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue