- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestSaveHasManyCircularReference (0.11 seconds)
-
tests/associations_test.go
// Save and Updates is the same DB.Updates(&parent) DB.First(&parent1, parent.ID) AssertObjEqual(t, parent, parent1, "ID", "FavChildID") } func TestSaveHasManyCircularReference(t *testing.T) { parent := Parent{} DB.Create(&parent) child := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference"}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0)