Gets entity manager that allows to perform repository operations with any entity.
Gets the original ORM repository for the entity that is managed by this repository. If current repository does not manage any entity, then exception will be thrown.
Gets the original ORM tree repository for the entity that is managed by this repository. If current repository does not manage any entity, then exception will be thrown.
Creates a new query builder for the repository's entity that can be used to build a sql query. If current repository does not manage any entity, then exception will be thrown.
Creates a new query builder for the given entity that can be used to build a sql query.
Gets custom repository's managed entity. If given custom repository does not manage any entity then undefined will be returned.
Gets the original ORM repository for the given entity class.
Gets the original ORM tree repository for the given entity class.
Generated using TypeDoc
Provides abstract class for custom repositories that do not inherit from original orm Repository. Contains all most-necessary methods to simplify code in the custom repository. All methods are protected thus not exposed and it allows to create encapsulated custom repository.