Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top