Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildPolymorphicRelation (0.13 sec)

  1. schema/relationship.go

    	if relation.FieldSchema, err = getOrParse(fieldValue, cacheStore, schema.namer); err != nil {
    		schema.err = err
    		return nil
    	}
    
    	if hasPolymorphicRelation(field.TagSettings) {
    		schema.buildPolymorphicRelation(relation, field)
    	} else if many2many := field.TagSettings["MANY2MANY"]; many2many != "" {
    		schema.buildMany2ManyRelation(relation, field, many2many)
    	} else if belongsTo := field.TagSettings["BELONGSTO"]; belongsTo != "" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top