0x4a52466c696e74 2 mēneši atpakaļ
vecāks
revīzija
8feb8e643b
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      conditions.go

+ 4 - 0
conditions.go

@@ -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
 	}