QFIX: PG query and SES (#7700)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-01-17 20:13:04 +07:00
committed by GitHub
parent 1347a03a63
commit a2eb0de7f5
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1267,7 +1267,7 @@ abstract class PostgresAdapterBase implements DbAdapter {
switch (type) {
case 'common':
if (Array.isArray(val) && val.includes(null)) {
res.push(`(${tkey} = ANY(${vars.addArray(val, inferType(val))})) OR ${tkey} IS NULL)`)
res.push(`(${tkey} = ANY(${vars.addArray(val, inferType(val))})) OR ${tkey} IS NULL`)
} else {
if (val.length > 0) {
res.push(`${tkey} = ANY(${vars.addArray(val, inferType(val))})`)