Skip to main content
Version: 7.0

TransactionContext

Uses AsyncLocalStorage to maintain a transaction-scoped EntityManager context across async operations.

Index

Constructors

constructor

Properties

readonlyem

readonlyid

id: number

Methods

staticcreate

  • create<T>(em, next): T

staticcurrentTransactionContext

staticgetEntityManager