增加 where operate 枚举值
This commit is contained in:
parent
8bf75bab08
commit
d4df71cf37
10
database.go
10
database.go
@ -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
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user