Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
179
export
function
isTransactionCommand(command: Document): boolean {
180
return
!!(command.commitTransaction || command.abortTransaction);
181
}
Callers
3
applySession
Function · 0.90
decorateCommandError
Method · 0.90
inActiveTransaction
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected