Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getint (0.27 sec)

  1. schema/field.go

    				}
    			case **int32:
    				if data != nil && *data != nil {
    					field.ReflectValueOf(ctx, value).SetInt(int64(**data))
    				}
    			case int64:
    				field.ReflectValueOf(ctx, value).SetInt(data)
    			case int:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int16:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  2. tests/sql_builder_test.go

    	stmt2 := dryRunDB.Find(&user, "id = ?", user.ID).Statement
    	if stmt2.SQL.String() == "" || len(stmt2.Vars) != 1 {
    		t.Errorf("Failed to generate sql, got %v", stmt2.SQL.String())
    	}
    }
    
    type ageInt int8
    
    func (ageInt) String() string {
    	return "age"
    }
    
    type ageBool bool
    
    func (ageBool) String() string {
    	return "age"
    }
    
    type ageUint64 uint64
    
    func (ageUint64) String() string {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top