Interface SecondaryEntityManager<TEntity>
Methods
getById
- getById(id: number | string): Promise<TEntity>
-
Parameters
Returns Promise<TEntity>
Model found.
getByIds
- getByIds(ids: number[] | string[]): Promise<TEntity[]>
-
Parameters
Returns Promise<TEntity[]>
Models found.
getByIdsOrderedAsc
- getByIdsOrderedAsc(ids: number[] | string[]): Promise<TEntity[]>
-
Parameters
Returns Promise<TEntity[]>
Models found.
Model of the manager.