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

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