@mikro-orm/core
Version:
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
4 lines (3 loc) • 307 B
TypeScript
import type { ContextProvider } from '../typings';
export declare function CreateRequestContext<T extends object>(context?: ContextProvider<T>, respectExistingContext?: boolean): MethodDecorator;
export declare function EnsureRequestContext<T extends object>(context?: ContextProvider<T>): MethodDecorator;