Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGaussDBTableWithIdentifierLength (0.23 sec)

  1. tests/table_test.go

    		}
    
    		for key := range constraints {
    			if key != uname {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    }
    
    func TestGaussDBTableWithIdentifierLength(t *testing.T) {
    	if DB.Dialector.Name() != "gaussdb" {
    		return
    	}
    
    	type LongString struct {
    		ThisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString string `gorm:"unique"`
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top