A pagination criteria object.

Hierarchy

  • Pagination

Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Construct a pagination object.

    Parameters

    • Optional max: number

      the maximum number of results to return

    • Optional offset: number

      the 0-based starting offset

    Returns Pagination

Properties

#max: number
#offset: number

Accessors

  • get offset(): number
  • Get the results starting offset.

    The first available result starts at offset 0. Note this is a raw offset value, not a "page" offset.

    Returns number

    the starting result offset

Methods

Generated using TypeDoc