MCPcopy
hub / github.com/prisma/prisma / resetQueryCounts

Function resetQueryCounts

packages/client/tests/functional/batching/tests.ts:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 const engineRequestBatchSizes: number[] = []
35
36 function resetQueryCounts() {
37 queriesExecuted = 0
38 beginCount = 0
39 commitCount = 0
40 rollbackCount = 0
41 savepointCount = 0
42 releaseSavepointCount = 0
43 rollbackToSavepointCount = 0
44 }
45
46 function resetEngineCounts() {
47 engineRequestCount = 0

Callers 1

tests.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected