@@ -11,6 +11,8 @@ const (
OperatorLessEqual = "<="
OperatorLike = "like"
OperatorNot = "not"
+ OperatorExists = "is"
+ OperatorEmpty = ""
)
func (s ConditionOperator) IsValid() bool {
@@ -22,6 +24,8 @@ func (s ConditionOperator) IsValid() bool {
case OperatorMoreEqual:
case OperatorLessEqual:
case OperatorLike:
+ case OperatorNot:
+ case OperatorEmpty:
default:
return false
}