Class SingleDocumentLiveQueryEvent

Provides information about a live query event relating to a single document live query.

Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption

Properties

isInitial: boolean

Whether or not this is the initial event being delivered.

Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption

oldDocument?: Document

The old representation of the document with the relveant document ID.

Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption

Methods

  • Returns a hash that represents the set of matching documents.

    Parameters

    Returns BigInt

    use Document.hash() instead.

  • Returns a pattern of words that together create a mnemonic, which represents the set of matching documents.

    Parameters

    Returns string

    use Document.hashMnemonic() instead.