feat(Postgres Node): Add option IS NOT NULL and hide value input fields (#9241)

This commit is contained in:
aya
2024-05-02 11:08:57 +02:00
committed by GitHub
parent ddff80416d
commit e896889394
4 changed files with 20 additions and 2 deletions

View File

@@ -413,7 +413,7 @@ export function addWhereClauses(
}
let valueReplacement = ' ';
if (clause.condition !== 'IS NULL') {
if (clause.condition !== 'IS NULL' && clause.condition !== 'IS NOT NULL') {
valueReplacement = ' ?';
values.push(clause.value);
}