Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestClauseAssociationSetUpdateAndDeleteManyOwnersBelongsTo (0.26 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/association_generics_test.go

    	}
    	AssertAssociationCount(t, u1, "Pets", 0, "after delete")
    	AssertAssociationCount(t, u2, "Pets", 0, "after delete")
    }
    
    // Multi-owners: BelongsTo update and delete
    
    func TestClauseAssociationSetUpdateAndDeleteManyOwnersBelongsTo(t *testing.T) {
    	ctx := context.Background()
    
    	// Create companies
    	c1 := Company{Name: "Electronics"}
    	c2 := Company{Name: "Books"}
    	if err := DB.Create(&c1).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
Back to Top