[feat] add Condition.IsAlwaysRight func
This commit is contained in:
parent
c62ef98a2e
commit
5a9df74b72
1
orm.go
1
orm.go
@ -152,6 +152,7 @@ type Condition interface {
|
|||||||
Type() ConditionType
|
Type() ConditionType
|
||||||
IsEmpty() bool
|
IsEmpty() bool
|
||||||
IsNotEmpty() bool
|
IsNotEmpty() bool
|
||||||
|
IsAlwaysRight() bool
|
||||||
ToSql(Model) db.Expression
|
ToSql(Model) db.Expression
|
||||||
AppendTo(Condition)
|
AppendTo(Condition)
|
||||||
SetExpr(ConditionExpr) Condition
|
SetExpr(ConditionExpr) Condition
|
||||||
|
Loading…
Reference in New Issue
Block a user