MCPcopy
hub / github.com/prisma/prisma / batchOrder

Method batchOrder

packages/client/src/runtime/RequestHandler.ts:138–143  ·  view source on GitHub ↗
(requestA, requestB)

Source from the content-addressed store, hash-verified

136 },
137
138 batchOrder(requestA, requestB) {
139 if (requestA.transaction?.kind === 'batch' && requestB.transaction?.kind === 'batch') {
140 return requestA.transaction.index - requestB.transaction.index
141 }
142 return 0
143 },
144 })
145 }
146

Callers 1

dispatchBatchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected