Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for MapIndex (0.07 seconds)

  1. 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)
  2. 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)
  3. api/go1.txt

    pkg reflect, method (Value) IsNil() bool
    pkg reflect, method (Value) IsValid() bool
    pkg reflect, method (Value) Kind() Kind
    pkg reflect, method (Value) Len() int
    pkg reflect, method (Value) MapIndex(Value) Value
    pkg reflect, method (Value) MapKeys() []Value
    pkg reflect, method (Value) Method(int) Value
    pkg reflect, method (Value) MethodByName(string) Value
    pkg reflect, method (Value) NumField() int
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top