MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / transactionRequired

Method transactionRequired

packages/core/src/errors.ts:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 static transactionRequired(): ValidationError {
57 return new ValidationError('An open transaction is required for this operation');
58 }
59
60 static entityNotManaged(entity: AnyEntity): ValidationError {
61 return new ValidationError(

Callers 5

setLockModeMethod · 0.80
commitMethod · 0.80
rollbackMethod · 0.80
checkLockRequirementsMethod · 0.80
lockPessimisticMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected