Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Team (0.14 sec)

  1. tests/associations_many2many_test.go

    		t.Errorf("no error should happened when deleting team, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Team", 2, "after delete")
    
    	// Clear
    	DB.Model(&users).Association("Team").Clear()
    	AssertAssociationCount(t, users, "Team", 0, "After Clear")
    }
    
    func TestDuplicateMany2ManyAssociation(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
Back to top