mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix query builder empty (#8408)
This commit is contained in:
committed by
Neil Lathwood
parent
a570165f85
commit
2bd6ceadc2
@ -53,8 +53,8 @@ class QueryBuilderParser implements \JsonSerializable
|
|||||||
'not_contains' => "NOT LIKE (\"%?%\")",
|
'not_contains' => "NOT LIKE (\"%?%\")",
|
||||||
'ends_with' => "LIKE (\"?%\")",
|
'ends_with' => "LIKE (\"?%\")",
|
||||||
'not_ends_with' => "NOT LIKE (\"?%\")",
|
'not_ends_with' => "NOT LIKE (\"?%\")",
|
||||||
'is_empty' => "=''",
|
'is_empty' => "=", // value will be empty
|
||||||
'is_not_empty' => "!=''",
|
'is_not_empty' => "!=", // value will be empty
|
||||||
'is_null' => "IS NULL",
|
'is_null' => "IS NULL",
|
||||||
'is_not_null' => "IS NOT NULL",
|
'is_not_null' => "IS NOT NULL",
|
||||||
'regex' => 'REGEXP',
|
'regex' => 'REGEXP',
|
||||||
|
Reference in New Issue
Block a user