Discribes the minimal requirements for a query block

interface IQueryBuildBlock {
    next: null | IQueryBuildBlock;
    previous: null | IQueryBuildBlock;
    toConstraints(): QueryConstraint[];
}

Implemented by

Properties

Methods

Properties

next: null | IQueryBuildBlock

A reference to the next query block or null if this block is the last

previous: null | IQueryBuildBlock

A reference to the previous query block if this block is the first

Methods

  • Converts the full chain to a firebase set of query constraints

    Returns QueryConstraint[]

    Firebase query constraints equivalent to this query