Type parameters

Hierarchy

Implements

Constructors

constructor

Properties

Readonly code

code: string

Protected factory

factory: EntityFactory

Protected filter

filter: any

Protected filters

filters: Filter[] = []

Protected limit

limit: number = 10

Readonly namespace

namespace: string

Protected offset

offset: number = 0

Protected order

order: object[] = []

Accessors

query

Methods

all

count

  • count(): Promise<number>

first

from

  • from(n: number): this

size

  • size(n: number): this

sort

  • sort(field: keyof StatusHistoryData<T, P>, ascend?: boolean): this
  • Parameters

    • field: keyof StatusHistoryData<T, P>
    • Default value ascend: boolean = false

    Returns this

where