Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MapKeys (0.04 sec)

  1. association.go

    				case schema.Many2Many:
    					association.Error = association.DB.Session(&Session{
    						NewDB: true,
    					}).Model(child.Interface()).Create(mapv.Interface()).Error
    
    					for _, key := range mapv.MapKeys() {
    						k := strings.ToLower(key.String())
    						if f, ok := association.Relationship.FieldSchema.FieldsByDBName[k]; ok {
    							_ = f.Set(association.DB.Statement.Context, child, mapv.MapIndex(key).Interface())
    						}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:09:12 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top