[feat] 重命名 ConditionTokenValue => TokenValue
This commit is contained in:
parent
f79e122b40
commit
dd56166a13
@ -10,13 +10,13 @@ type Condition interface {
|
|||||||
IsEmpty() bool
|
IsEmpty() bool
|
||||||
IsNotEmpty() bool
|
IsNotEmpty() bool
|
||||||
IsAlwaysRight() bool
|
IsAlwaysRight() bool
|
||||||
ToSql(condition.ConditionTokenValue) db.Expression
|
ToSql(condition.TokenValue) db.Expression
|
||||||
AppendTo(Condition)
|
AppendTo(Condition)
|
||||||
SetExpr(ConditionExpr) Condition
|
SetExpr(ConditionExpr) Condition
|
||||||
SetCondition(Condition) Condition
|
SetCondition(Condition) Condition
|
||||||
SetMatchPrefix(string) Condition
|
SetMatchPrefix(string) Condition
|
||||||
GetFields(operator condition.ConditionOperator, types ...condition.ConditionTokenType) map[string]string
|
GetFields(operator condition.ConditionOperator, types ...condition.ConditionTokenType) map[string]string
|
||||||
GetFieldsValue(m condition.ConditionTokenValue, isWithResource bool) map[string]any
|
GetFieldsValue(m condition.TokenValue, isWithResource bool) map[string]any
|
||||||
}
|
}
|
||||||
|
|
||||||
type ConditionExpr interface {
|
type ConditionExpr interface {
|
||||||
@ -27,10 +27,10 @@ type ConditionExpr interface {
|
|||||||
SetMatchPrefix(string) ConditionExpr
|
SetMatchPrefix(string) ConditionExpr
|
||||||
|
|
||||||
AppendTo(Condition)
|
AppendTo(Condition)
|
||||||
ToSql(m condition.ConditionTokenValue) db.Expression
|
ToSql(m condition.TokenValue) db.Expression
|
||||||
GetTokenName() string
|
GetTokenName() string
|
||||||
GetTokenType() condition.ConditionTokenType
|
GetTokenType() condition.ConditionTokenType
|
||||||
GetTokenValue(condition.ConditionTokenValue) any
|
GetTokenValue(condition.TokenValue) any
|
||||||
GetTokenSqlValue(condition.ConditionTokenValue) string
|
GetTokenSqlValue(condition.TokenValue) string
|
||||||
IsIgnoreEmptyParma(condition.ConditionTokenValue) bool
|
IsIgnoreEmptyParma(condition.TokenValue) bool
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user