0x4a52466c696e74 2 bulan lalu
induk
melakukan
8feb8e643b
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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
 	}