Revert "Fixed JsonExpressionBuilder to generate SQL NULL"

This reverts commit cf4bd39fc1927c3cbe85c08c6fc473d60921d96f.
This commit is contained in:
SilverFire - Dmitry Naumenko
2018-03-10 11:11:11 +02:00
parent cf4bd39fc1
commit c6ea3fb455
3 changed files with 1 additions and 5 deletions

View File

@ -33,9 +33,6 @@ class JsonExpressionBuilder implements ExpressionBuilderInterface
public function build(ExpressionInterface $expression, array &$params = [])
{
$value = $expression->getValue();
if ($value === null) {
return 'NULL';
}
if ($value instanceof Query) {
list ($sql, $params) = $this->queryBuilder->build($value, $params);