Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Query<P>

A Query represents a collection of Entitys matching a given set of criteria. It can also provide deltas relative to the previous result.

Type Parameters

Hierarchy

  • Query

Index

Constructors

  • new Query<P>(param0: P): Query<P>

Methods

  • Returns the query result at this point in time.

    remarks

    Note, that only the result of the most recent call to Query.collect is valid. Previous results are unstable and will yield incorrect results.

    Returns QueryResult<P>

    The query result.

  • isDestroyed(): boolean
  • destroy(): void
  • Destroys the Query, clearing all previous results and preventing it from being updated in the future.

    Returns void

Generated using TypeDoc