Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Restriction

A query restriction.

Hierarchy

  • Restriction

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • attribute: string
    • comparator: Comparator
    • Optional value: any

    Returns Restriction

Properties

attribute

attribute: string

The model attribute (name, id, etc.) to query.

comparator

comparator: Comparator

The comparator to use when querying.

Optional value

value: any

The value to compare the attribute property to.

Methods

toString

  • toString(): string
  • A human-readable string for this restriction.

    Returns string

Generated using TypeDoc