Class QueryResult

Represents results returned when executing a DQL query containing a QueryResultItem for each match.

More info, such as metrics, will be provided in the near future.

Hierarchy

  • QueryResult

Properties

Methods

Properties

Individual items matching a DQL query.

Methods

  • IDs of documents that were mutated locally by a mutating DQL query passed to execute(). Empty array if no documents have been mutated.

    **Note: Query results received from a StoreObserver never contain mutated document IDs because a store observer is always registered using a non-mutating SELECT query.

    Important: The returned document IDs are not cached, make sure to call this method once and keep the return value for as long as needed.

    Returns DocumentID[]

    an array of document IDs