Fix query builder empty (#8408)

This commit is contained in:
Tony Murray
2018-03-17 08:03:51 -05:00
committed by Neil Lathwood
parent a570165f85
commit 2bd6ceadc2

View File

@ -53,8 +53,8 @@ class QueryBuilderParser implements \JsonSerializable
'not_contains' => "NOT LIKE (\"%?%\")",
'ends_with' => "LIKE (\"?%\")",
'not_ends_with' => "NOT LIKE (\"?%\")",
'is_empty' => "=''",
'is_not_empty' => "!=''",
'is_empty' => "=", // value will be empty
'is_not_empty' => "!=", // value will be empty
'is_null' => "IS NULL",
'is_not_null' => "IS NOT NULL",
'regex' => 'REGEXP',