Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dt_field (0.14 sec)

  1. tests/scan_test.go

    	}
    }
    
    func TestScanRowsNullValuesScanToFieldDefault(t *testing.T) {
    	DB.Save(&User{})
    
    	rows, err := DB.Table("users").
    		Select(`
    			NULL AS bool_field,
    			NULL AS int_field,
    			NULL AS int8_field,
    			NULL AS int16_field,
    			NULL AS int32_field,
    			NULL AS int64_field,
    			NULL AS uint_field,
    			NULL AS uint8_field,
    			NULL AS uint16_field,
    			NULL AS uint32_field,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top