Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for com (0.16 sec)

  1. tests/migrate_test.go

    		// In SQLServer, If an index or constraint depends on the column,
    		// this column will not be able to run ALTER
    		// see https://stackoverflow.com/questions/19460912/the-object-df-is-dependent-on-column-changing-int-to-double/19461205#19461205
    		// may we need to create another PR to fix it, see https://github.com/go-gorm/sqlserver/pull/106
    		tests = []TestCase{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    	switch v := val.(type) {
    	case int64:
    		t.data = v * 2
    		return nil
    	default:
    		return fmt.Errorf("DoubleInt64 cant not scan with:%v", v)
    	}
    }
    
    // https://github.com/go-gorm/gorm/issues/5091
    func TestQueryScannerWithSingleColumn(t *testing.T) {
    	user := User{Name: "scanner_raw_1", Age: 10}
    	DB.Create(&user)
    
    	var result1 DoubleInt64
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top