* Gets the transaction context (driver dependent object used to make sure queries are executed on same connection).
()
| 2649 | * Gets the transaction context (driver dependent object used to make sure queries are executed on same connection). |
| 2650 | */ |
| 2651 | getTransactionContext<T extends Transaction = Transaction>(): T | undefined { |
| 2652 | return this.getContext(false).#transactionContext as T; |
| 2653 | } |
| 2654 | |
| 2655 | /** |
| 2656 | * Returns the cancellation defaults configured on this EntityManager (via `em.fork({ signal })` |