Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestClauseAssociationSetUpdateWithOpCreate (0.41 seconds)

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

  1. tests/association_generics_test.go

    }
    
    // Test Set + Update with Association OpCreate operation using real database
    func TestClauseAssociationSetUpdateWithOpCreate(t *testing.T) {
    	ctx := context.Background()
    
    	// Create a user with a pet first using real database
    	user := User{Name: "TestClauseAssociationSetUpdateWithOpCreate", Age: 25}
    	user.Pets = []*Pet{{Name: "original-pet"}}
    	if err := DB.Create(&user).Error; err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
Back to Top