adding for not equals query
This commit is contained in:
parent
537c92b371
commit
9035674f00
|
@ -458,6 +458,10 @@ class InternalBuilder {
|
||||||
)} = ? THEN 1 ELSE 0 END = 0`,
|
)} = ? THEN 1 ELSE 0 END = 0`,
|
||||||
[value]
|
[value]
|
||||||
)
|
)
|
||||||
|
} else if (SqlClient.ORACLE) {
|
||||||
|
query = query[fnc](`${quotedIdentifier(this.client, key)} != ?`, [
|
||||||
|
value,
|
||||||
|
])
|
||||||
} else {
|
} else {
|
||||||
query = query[fnc](
|
query = query[fnc](
|
||||||
`COALESCE(${quotedIdentifier(this.client, key)} != ?, TRUE)`,
|
`COALESCE(${quotedIdentifier(this.client, key)} != ?, TRUE)`,
|
||||||
|
|
Loading…
Reference in New Issue