Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueryCondition

A QueryCondition object stores information about a single property-value condition.

Hierarchy

  • QueryCondition

Index

Constructors

Properties

Methods

Constructors

constructor

  • Initializes a query condition instance for the specified property and value and optional next operator.

    memberof

    QueryCondition

    Parameters

    • property: string
    • value: any
    • Default value nextOperator: Operator = Operator.AND

    Returns QueryCondition

Properties

nextOperator

nextOperator: Operator

The operator to use when chaining this condition to successive conditions.

memberof

QueryCondition

property

property: string

The data property to query.

memberof

QueryCondition

value

value: string | number

The data value to query against.

memberof

QueryCondition

Methods

toString

  • toString(): string
  • Returns the formatted query string to be used with API requests.

    memberof

    QueryCondition

    Returns string

Generated using TypeDoc