Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPostgresTableWithIdentifierLength (0.19 sec)

  1. tests/table_test.go

    	})
    
    	if !regexp.MustCompile("SELECT \\* FROM `t_users`").MatchString(sql) {
    		t.Errorf("Table with namer, got %v", sql)
    	}
    }
    
    func TestPostgresTableWithIdentifierLength(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		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