API Reference
Rockets Core API
typeorm-common
classes
EntityManagerProxy

Class: EntityManagerProxy

Constructors

new EntityManagerProxy()

new EntityManagerProxy(_entityManager): EntityManagerProxy

Parameters

ParameterType
_entityManagerEntityManager

Returns

EntityManagerProxy

Defined in

.tmp/repos/rockets/packages/typeorm-common/src/proxies/entity-manager.proxy.ts:8 (opens in a new tab)

Methods

entityManager()

entityManager(): EntityManager

Returns

EntityManager

Defined in

.tmp/repos/rockets/packages/typeorm-common/src/proxies/entity-manager.proxy.ts:10 (opens in a new tab)


repository()

repository<T>(repository, options?): Repository<T>

Type Parameters

Type Parameter
T extends ObjectLiteral

Parameters

ParameterType
repositoryRepository<T>
options?QueryOptionsInterface & EntityManagerOptionInterface

Returns

Repository<T>

Defined in

.tmp/repos/rockets/packages/typeorm-common/src/proxies/entity-manager.proxy.ts:14 (opens in a new tab)


transaction()

transaction(options?): TransactionProxy

Parameters

ParameterType
options?SafeTransactionOptionsInterface

Returns

TransactionProxy

Defined in

.tmp/repos/rockets/packages/typeorm-common/src/proxies/entity-manager.proxy.ts:30 (opens in a new tab)