Skip to main content

Enumeration: TransactionalMode

Defined in: service-core/src/decorators/DatabaseDecorators.ts:127

Describes the opertaing mode for transaction support and how existing context should be reconciled. When

Transactional

is used multiple times in a single callstack, the context can either be merged in a single transaction and nested.

Enumeration Members

CREATE

CREATE: 0

Defined in: service-core/src/decorators/DatabaseDecorators.ts:129

Always creates a new transactional context for the current function.


MERGE

MERGE: 1

Defined in: service-core/src/decorators/DatabaseDecorators.ts:131

Merges existing transactional context instead of creating a new one.