Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SecondaryEntityManagerMock<TEntity>

Type parameters

Hierarchy

  • SecondaryEntityManagerMock

Implements

Index

Constructors

constructor

Properties

Protected _model

_model: Model<TEntity>

Model managed.

Protected _store

_store: TEntity[]

Entities set.

Accessors

model

  • get model(): Model<TEntity>

store

  • get store(): TEntity[]

Methods

Protected _compareStrings

  • _compareStrings(a: string, b: string): number

getById

  • getById(id: number | string): Promise<TEntity>

getByIds

  • getByIds(ids: number[] | string[]): Promise<TEntity[]>

getByIdsOrderedAsc

  • getByIdsOrderedAsc(ids: number[] | string[]): Promise<TEntity[]>

Generated using TypeDoc