Skip to main content

unwrapRepository

@webda/core


Function: unwrapRepository()

unwrapRepository<T>(repo): AbstractRepository<T>

Defined in: packages/core/src/stores/migrationstore.service.ts:194

Unwrap an EventRepository to access its inner AbstractRepository directly without re-emitting model events

Type Parameters​

T​

T extends ModelClass<Storable<any, any>>

Parameters​

repo​

Repository<T>

repository to unwrap

Returns​

AbstractRepository<T>

the inner AbstractRepository