Skip to content

Transactional

@tsed/mikro-orm

Usage

typescript
import { Transactional } from "@tsed/mikro-orm";

See /packages/orm/mikro-orm/src/types/decorators/transactional.ts.

Overview

ts
const Transactional: (contextNameOrOptions?: string | TransactionOptions) => MethodDecorator;

Description

Register a new request context for your method and execute it inside the context.

Released under the MIT License.