From 5a9df74b7287cf7e7d19d1c83ddf8c8355a93f87 Mon Sep 17 00:00:00 2001 From: what Date: Fri, 21 Apr 2023 16:20:23 +0800 Subject: [PATCH] [feat] add Condition.IsAlwaysRight func --- orm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/orm.go b/orm.go index 1ead68d..82c074e 100644 --- a/orm.go +++ b/orm.go @@ -152,6 +152,7 @@ type Condition interface { Type() ConditionType IsEmpty() bool IsNotEmpty() bool + IsAlwaysRight() bool ToSql(Model) db.Expression AppendTo(Condition) SetExpr(ConditionExpr) Condition