Options
All
  • Public
  • Public/Protected
  • All
Menu

Class 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
  • human-readable string for this restriction

    Returns string

Generated using TypeDoc