增加 where operate 枚举值

This commit is contained in:
白茶清欢 2024-08-23 12:11:45 +08:00
parent 8bf75bab08
commit d4df71cf37

View File

@ -20,3 +20,13 @@ const (
SqlTypeUpdate = "update" SqlTypeUpdate = "update"
SqlTypeDelete = "delete" SqlTypeDelete = "delete"
) )
// Equal , NotEqual , In , NotIn , Like, NotLike
const (
WhereOperateEqual = "equal" // =
WhereOperateNotEqual = "not_equal" // !=
WhereOperateIn = "in" // in
WhereOperateNotIn = "not_in" // not in
WhereOperateLike = "like" // like
WhereOperateNotLike = "not_like" // not like
)