MCPcopy Create free account
hub / github.com/bytebase/bytebase / cleanupTable

Function cleanupTable

backend/tests/transaction_mode_test.go:287–290  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T, driver db.Driver, _ storepb.Engine)

Source from the content-addressed store, hash-verified

285}
286
287func cleanupTable(ctx context.Context, t *testing.T, driver db.Driver, _ storepb.Engine) {
288 _, err := driver.Execute(ctx, "DELETE FROM test_table", db.ExecuteOptions{})
289 require.NoError(t, err)
290}

Callers 1

TestTransactionModeFunction · 0.85

Calls 1

ExecuteMethod · 0.65

Tested by

no test coverage detected