Skip to main content
Latest
interface TransactionRepositoryMetadataArgs
import { type TransactionRepositoryMetadataArgs } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/metadata-args/TransactionRepositoryMetadataArgs.ts";

Used to inject transaction's repository into the method wrapped with @Transaction decorator.

Properties

readonly
target: Function

Target class on which decorator is used.

readonly
methodName: string

Method on which decorator is used.

readonly
index: number

Index of the parameter on which decorator is used.

readonly
repositoryType: Function

Type of the repository class (Repository, TreeRepository or MongoRepository) or custom repository class.

readonly
optional
entityType: Function

Argument of generic Repository class if it's not custom repository class.