diff --git a/helper/orm.go b/helper/orm.go index 02bb663..47b08cf 100644 --- a/helper/orm.go +++ b/helper/orm.go @@ -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 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 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