Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for float (0.19 sec)

  1. schema/field_test.go

    		{Name: "FLOAT32", DBName: "ffloat32", BindNames: []string{"FLOAT32"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 32, Tag: `gorm:"column:ffloat32"`},
    		{Name: "FLOAT64", DBName: "ffloat64", BindNames: []string{"FLOAT64"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:ffloat64"`},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  2. logger/sql_test.go

    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu?", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd, floatVal},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. schema/field.go

    	UnixMillisecond TimeType = 3
    	UnixNanosecond  TimeType = 4
    )
    
    // GORM fields types
    const (
    	Bool   DataType = "bool"
    	Int    DataType = "int"
    	Uint   DataType = "uint"
    	Float  DataType = "float"
    	String DataType = "string"
    	Time   DataType = "time"
    	Bytes  DataType = "bytes"
    )
    
    const DefaultAutoIncrementIncrement int64 = 1
    
    // Field is the representation of model schema's field
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  4. callbacks/helper_test.go

    			input: map[string]interface{}{
    				"age": 18,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "score"}},
    				Values:  [][]interface{}{{99.5}},
    			},
    		},
    		{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top