Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for uint8 (0.13 sec)

  1. tests/associations_has_many_test.go

    	AssertAssociationCount(t, users, "Toys", 0, "After Clear")
    }
    
    func TestHasManyAssociationUnscoped(t *testing.T) {
    	type ItemContent struct {
    		gorm.Model
    		ItemID       uint   `gorm:"not null"`
    		Name         string `gorm:"not null;type:varchar(50)"`
    		LanguageCode string `gorm:"not null;type:varchar(2)"`
    	}
    	type Item struct {
    		gorm.Model
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
Back to top