[feat] ConditionExpr.SetMatchPrefix 方法需要返回本对象

This commit is contained in:
what 2023-04-20 23:58:32 +08:00
parent b1802123b9
commit 0633538077

2
orm.go
View File

@ -166,7 +166,7 @@ type ConditionExpr interface {
GetFieldResource() string
GetOperator() ConditionOperator
SetMatchPrefix(string)
SetMatchPrefix(string) ConditionExpr
AppendTo(Condition)
ToSql(m Model) db.Expression