Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for FieldsByName (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. schema/schema.go

    						}
    					}
    				}
    
    				if field.PrimaryKey {
    					schema.PrimaryFields = append(schema.PrimaryFields, field)
    				}
    			}
    		}
    
    		if of, ok := schema.FieldsByName[field.Name]; !ok || of.TagSettings["-"] == "-" {
    			schema.FieldsByName[field.Name] = field
    		}
    		if of, ok := schema.FieldsByBindName[bindName]; !ok || of.TagSettings["-"] == "-" {
    			schema.FieldsByBindName[bindName] = field
    		}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. schema/relationship.go

    	}
    
    	if value, ok := field.TagSettings["POLYMORPHICID"]; ok {
    		typeId = strings.TrimSpace(value)
    	}
    
    	relation.Polymorphic.PolymorphicType = relation.FieldSchema.FieldsByName[typeName]
    	relation.Polymorphic.PolymorphicID = relation.FieldSchema.FieldsByName[typeId]
    
    	if value, ok := field.TagSettings["POLYMORPHICVALUE"]; ok {
    		relation.Polymorphic.Value = strings.TrimSpace(value)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
Back to Top