Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ToQueryConditions (0.3 sec)

  1. schema/relationship.go

    			} else {
    				constraint.Schema = rel.Schema
    				constraint.ReferenceSchema = ref.PrimaryKey.Schema
    			}
    		}
    	}
    
    	return &constraint
    }
    
    func (rel *Relationship) ToQueryConditions(ctx context.Context, reflectValue reflect.Value) (conds []clause.Expression) {
    	table := rel.FieldSchema.Table
    	foreignFields := []*Field{}
    	relForeignKeys := []string{}
    
    	if rel.JoinTable != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
Back to top