diff --git a/orm.go b/orm.go index 7a30a6a..92662cc 100644 --- a/orm.go +++ b/orm.go @@ -12,9 +12,6 @@ type OrmExecute int type RelationType string -type ConditionType string -type ConditionOperator string -type ConditionTokenType string type OrderByDirection string const ( @@ -132,12 +129,6 @@ type NewOrmRelation func(t RelationType, m Model, rResource, rField, rForeignKey type NewOrmJoin func(t RelationType, res req.Resource, alias, rResource, rField, rForeignKey string) Join -type NewOrmCondition func(typ ConditionType, describe string) *condition.Condition - -type NewOrmConditionExpr func(rResource, rField, token string, operator ConditionOperator, tType ConditionTokenType, ignoreEmptyParma bool) *condition.ConditionExpr - -type NewOrmConditionFuncExpr func(rResource, rField, token string, operator ConditionOperator, tType ConditionTokenType, ignoreEmptyParma bool, fn, fnParam string) *condition.ConditionExpr - type NewOrmQueryWithRecursive func(pField, cField string, root any, isWithoutCondition bool, depth int) QueryWithRecursive type NewOrmOrderBy func(sql string, direction OrderByDirection) OrderBy