[feat] add Condition.IsAlwaysRight func

This commit is contained in:
what 2023-04-21 16:20:23 +08:00
parent c62ef98a2e
commit 5a9df74b72

1
orm.go
View File

@ -152,6 +152,7 @@ type Condition interface {
Type() ConditionType
IsEmpty() bool
IsNotEmpty() bool
IsAlwaysRight() bool
ToSql(Model) db.Expression
AppendTo(Condition)
SetExpr(ConditionExpr) Condition