DittoQueryResult

public class DittoQueryResult

Represents the result of executing a DQL query.

Note

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

  • Individual items matching a DQL query.

    Declaration

    Swift

    public let items: [DittoQueryResultItem]
  • IDs of documents that were mutated by the DQL query. Empty array if no documents have been mutated.

    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.

    Declaration

    Swift

    public func mutatedDocumentIDs() -> [DittoDocumentID]