DX: fix deprecation in dql custom function + add test

This commit is contained in:
2022-10-08 01:30:06 +02:00
parent 76aa9c7058
commit 61db0d6a28
2 changed files with 42 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ class JsonbExistsInArray extends FunctionNode
return sprintf(
'%s ?? %s',
$this->expr1->dispatch($sqlWalker),
$sqlWalker->walkInputParameter($this->expr2)
$this->expr2->dispatch($sqlWalker)
);
}