Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gen_random_uuid (0.51 sec)

  1. tests/gaussdb_test.go

    )
    
    func TestGaussDBReturningIDWhichHasStringType(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support pgcrypto extension and gen_random_uuid() function")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		// TODO: function gen_random_uuid() does not exist
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    		CreatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top