- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for MapIndex (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
schema/utils.go
switch reflectValue.Kind() { case reflect.Map: results = [][]interface{}{make([]interface{}, len(fields))} for idx, field := range fields { mapValue := reflectValue.MapIndex(reflect.ValueOf(field.DBName)) if mapValue.IsZero() { mapValue = reflectValue.MapIndex(reflect.ValueOf(field.Name)) } results[0][idx] = mapValue.Interface() } dataResults[utils.ToStringKey(results[0]...)] = []reflect.Value{reflectValue}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 11:15:36 GMT 2025 - 5.9K bytes - Click Count (0) -
association.go
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()) } } appendToFieldValues(child) } } switch rv.Kind() { case reflect.Map: processMap(rv) case reflect.Slice, reflect.Array:
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0)