Merge pull request #1380 from iosonogio/bugfix/netwitness-null

[bugfix] netwitness and netwitness-epl backends have incoherent null expressions
This commit is contained in:
Florian Roth
2021-03-29 11:23:18 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ class NetWitnessEplBackend(SingleTextQueryBackend):
listSeparator = ", "
valueExpression = "\'%s\'"
keyExpression = "%s"
nullExpression = "%s exists"
notNullExpression = "%s exists"
nullExpression = "%s is null"
notNullExpression = "%s is not null"
mapExpression = "(%s=%s)"
mapListsSpecialHandling = True
+1 -1
View File
@@ -37,7 +37,7 @@ class NetWitnessBackend(SingleTextQueryBackend):
listSeparator = ", "
valueExpression = "\'%s\'"
keyExpression = "%s"
nullExpression = "%s exists"
nullExpression = "%s !exists"
notNullExpression = "%s exists"
mapExpression = "(%s=%s)"
mapListsSpecialHandling = True