[feat] 移除不合理 condition 部分
This commit is contained in:
		
							parent
							
								
									43ce8cef98
								
							
						
					
					
						commit
						ebd32a8731
					
				
							
								
								
									
										9
									
								
								orm.go
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								orm.go
									
									
									
									
									
								
							@ -12,9 +12,6 @@ type OrmExecute int
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
type RelationType string
 | 
					type RelationType string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type ConditionType string
 | 
					 | 
				
			||||||
type ConditionOperator string
 | 
					 | 
				
			||||||
type ConditionTokenType string
 | 
					 | 
				
			||||||
type OrderByDirection string
 | 
					type OrderByDirection string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const (
 | 
					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 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 NewOrmQueryWithRecursive func(pField, cField string, root any, isWithoutCondition bool, depth int) QueryWithRecursive
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type NewOrmOrderBy func(sql string, direction OrderByDirection) OrderBy
 | 
					type NewOrmOrderBy func(sql string, direction OrderByDirection) OrderBy
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user