[style] 统一 orm helper 方法
This commit is contained in:
parent
ca259233c1
commit
5779c89b2d
@ -20,14 +20,14 @@ type NewOrmCondition func(typ contracts.ConditionType, describe string) contract
|
|||||||
|
|
||||||
type NewOrmConditionExpr func(rResource, rField, token string, operator contracts.ConditionOperator, tType contracts.ConditionTokenType, ignoreEmptyParma bool) contracts.ConditionExpr
|
type NewOrmConditionExpr func(rResource, rField, token string, operator contracts.ConditionOperator, tType contracts.ConditionTokenType, ignoreEmptyParma bool) contracts.ConditionExpr
|
||||||
|
|
||||||
type NewOrmConditionFuncExpr func(rResource, rField, token, fn, fnParam, string, operator contracts.ConditionOperator, tType contracts.ConditionTokenType, ignoreEmptyParma bool) contracts.ConditionExpr
|
type NewOrmConditionFuncExpr func(rResource, rField, token string, operator contracts.ConditionOperator, tType contracts.ConditionTokenType, ignoreEmptyParma bool, fn, fnParam string) contracts.ConditionExpr
|
||||||
|
|
||||||
type NewOrmConditionByRes func(items []base.ResCondition) contracts.Condition
|
type NewOrmConditionByRes func(items []base.ResCondition) contracts.Condition
|
||||||
|
|
||||||
type NewOrmQueryField func(rField base.ResField, t contracts.QueryDataType, alias string, options int) contracts.QueryField
|
type NewOrmQueryField func(rField base.ResField, t contracts.QueryDataType, alias string, options int) contracts.QueryField
|
||||||
|
|
||||||
type NewOrderBy func(sql string, direction contracts.OrderByDirection) contracts.OrderBy
|
type NewOrmOrderBy func(sql string, direction contracts.OrderByDirection) contracts.OrderBy
|
||||||
|
|
||||||
type NewGroupBy func(sql string) contracts.GroupBy
|
type NewOrmGroupBy func(sql string) contracts.GroupBy
|
||||||
|
|
||||||
type NewOrm func(res contracts.Resource, tx *db.Transaction) contracts.Orm
|
type NewOrm func(res contracts.Resource, tx *db.Transaction) contracts.Orm
|
||||||
|
Loading…
Reference in New Issue
Block a user