Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exports (0.15 sec)

  1. tests/migrate_test.go

    					t.Fatalf("column name type should be correct, name: %v, length: %v, expects: %v, column: %#v",
    						columnType.Name(), columnType.DatabaseTypeName(), dataType, columnType)
    				}
    				if length, ok := columnType.Length(); !ok || length != 100 {
    					t.Fatalf("column name length should be correct, name: %v, length: %v, expects: %v, column: %#v",
    						columnType.Name(), length, 100, columnType)
    				}
    			case "age":
    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

    		totalBatch += batch
    
    		if tx.RowsAffected != 2 {
    			t.Errorf("Incorrect affected rows, expects: 2, got %v", tx.RowsAffected)
    		}
    
    		if len(results) != 2 {
    			t.Errorf("Incorrect users length, expects: 2, got %v", len(results))
    		}
    
    		for idx := range results {
    			results[idx].Name = results[idx].Name + "_new"
    		}
    
    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