DittoLiveQueryUpdate

Provides information about the changes that have occurred in relation to a live query for a given update event.

This type is returned in the update case of the DittoLiveQueryEvent enum.

  • A list of all of the documents that matched the live query as part of the previous update.

  • A list of the indexes in the list of new matching documents at which new matching documents have been inserted.

  • A list of the indexes in the list of old matching documents at which previously matching documents have been removed.

  • A list of the indexes in the list of new matching documents at which already matching documents have been updated.

  • A list of the tuples that provides the indexes, in relation to the list of old matching documents, that already matching documents have moved from and the indexes, in relation to the list of new matching documents, that the documents have moved to.