diff --git a/packages/backend-core/src/sql/sql.ts b/packages/backend-core/src/sql/sql.ts index aacfe7f02a..30a312bd54 100644 --- a/packages/backend-core/src/sql/sql.ts +++ b/packages/backend-core/src/sql/sql.ts @@ -458,6 +458,10 @@ class InternalBuilder { )} = ? THEN 1 ELSE 0 END = 0`, [value] ) + } else if (SqlClient.ORACLE) { + query = query[fnc](`${quotedIdentifier(this.client, key)} != ?`, [ + value, + ]) } else { query = query[fnc]( `COALESCE(${quotedIdentifier(this.client, key)} != ?, TRUE)`,