Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Query

A Query object is a convenience wrapper for setting up and configuring a query string used for API queries.

Hierarchy

  • Query

Index

Constructors

constructor

  • Initializes a query instance, optionally with an array of query conditions.

    memberof

    Query

    Parameters

    Returns Query

Methods

addCondition

  • Adds a query condition.

    memberof

    Query

    Parameters

    Returns Query

removeAllConditions

  • removeAllConditions(): Query
  • Removes all query conditions.

    memberof

    Query

    Returns Query

removeCondition

  • Removes a query condition.

    memberof

    Query

    Parameters

    Returns Query

toString

  • toString(): string
  • Returns the formatted string from all query conditions to be used for API requests.

    memberof

    Query

    Returns string

Generated using TypeDoc