Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for result_type (0.11 sec)

  1. tests/query_test.go

    					dbName := DB.NamingStrategy.ColumnName("", name)
    					resultType := reflect.ValueOf(first[dbName]).Type().Name()
    
    					switch name {
    					case "Name":
    						if !strings.Contains(resultType, "string") {
    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					case "Age":
    						if !strings.Contains(resultType, "int") {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top