mutatedDocumentIds

fun mutatedDocumentIds(): Set<DittoDocumentId>

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

Note: a DittoStoreObserver can only be registered with a SELECT query, which is non- mutating, and thus the query result passed to the DittoStoreObserver always returns an empty array in that case.

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.

Since

4.5.0