- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for inline_delete_2 (0.09 sec)
-
tests/delete_test.go
t.Errorf("should raise record not found error, but got error %v", err) } } func TestInlineCondDelete(t *testing.T) { user1 := *GetUser("inline_delete_1", Config{}) user2 := *GetUser("inline_delete_2", Config{}) DB.Save(&user1).Save(&user2) if DB.Delete(&User{}, user1.ID).Error != nil { t.Errorf("No error should happen when delete a record")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0)