fix tests

This commit is contained in:
Martin McKeaveney 2024-07-23 09:44:58 +01:00
parent 12b5fc2a2b
commit 68640c8e6d
1 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ class InternalBuilder {
)} = ? THEN 1 ELSE 0 END = 1`, )} = ? THEN 1 ELSE 0 END = 1`,
[value] [value]
) )
} else if (SqlClient.ORACLE) { } else if (this.client === SqlClient.ORACLE) {
query = query[fnc](`${quotedIdentifier(this.client, key)} = ?`, [ query = query[fnc](`${quotedIdentifier(this.client, key)} = ?`, [
value, value,
]) ])
@ -458,7 +458,7 @@ class InternalBuilder {
)} = ? THEN 1 ELSE 0 END = 0`, )} = ? THEN 1 ELSE 0 END = 0`,
[value] [value]
) )
} else if (SqlClient.ORACLE) { } else if (this.client === SqlClient.ORACLE) {
query = query[fnc](`${quotedIdentifier(this.client, key)} != ?`, [ query = query[fnc](`${quotedIdentifier(this.client, key)} != ?`, [
value, value,
]) ])