Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestClauseAssociationSetUpdateAndDeleteManyOwnersHasMany (0.48 seconds)

  1. tests/association_generics_test.go

    		t.Fatalf("count lang: %v", err)
    	}
    	if count != 1 {
    		t.Fatalf("expected language row still exists, got %d", count)
    	}
    }
    
    // Multi-owners: HasMany update and delete
    func TestClauseAssociationSetUpdateAndDeleteManyOwnersHasMany(t *testing.T) {
    	ctx := context.Background()
    	u1 := User{Name: "MultiOwners-HasMany-1", Age: 21}
    	u1.Pets = []*Pet{{Name: "p1"}}
    	u2 := User{Name: "MultiOwners-HasMany-2", Age: 22}
    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