MCPcopy
hub / github.com/mongodb/node-mongodb-native / isTransactionCommand

Function isTransactionCommand

src/transactions.ts:179–181  ·  view source on GitHub ↗
(command: Document)

Source from the content-addressed store, hash-verified

177}
178
179export function isTransactionCommand(command: Document): boolean {
180 return !!(command.commitTransaction || command.abortTransaction);
181}

Callers 3

applySessionFunction · 0.90
decorateCommandErrorMethod · 0.90
inActiveTransactionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected