typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
18 lines (17 loc) • 447 B
TypeScript
/**
* Used to inject transaction's entity managed into the method wrapped with @Transaction decorator.
*/
export interface TransactionEntityMetadataArgs {
/**
* Target class on which decorator is used.
*/
readonly target: Function;
/**
* Method on which decorator is used.
*/
readonly methodName: string;
/**
* Index of the parameter on which decorator is used.
*/
readonly index: number;
}