diff --git a/helper/orm.go b/helper/orm.go index 47b08cf..3acce88 100644 --- a/helper/orm.go +++ b/helper/orm.go @@ -30,4 +30,6 @@ type NewOrmOrderBy func(sql string, direction contracts.OrderByDirection) contra type NewOrmGroupBy func(sql string) contracts.GroupBy +type NewOrmModel func(res contracts.Resource, code, name string) contracts.Model + type NewOrm func(res contracts.Resource, tx *db.Transaction) contracts.Orm