[feat] add NewOrmModel helper
This commit is contained in:
parent
5779c89b2d
commit
b1802123b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user