- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Background (0.21 sec)
-
tests/transaction_test.go
}) }); err != nil { t.Fatalf("prepare statement and nested transcation coexist" + err.Error()) } }) } func TestCancelTransaction(t *testing.T) { ctx := context.Background() ctx, cancelFunc := context.WithCancel(ctx) cancelFunc() user := *GetUser("cancel_transaction", Config{}) DB.Create(&user) err := DB.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 10.9K bytes - Viewed (0)