DittoSingleDocumentLiveQuery

public class DittoSingleDocumentLiveQuery<T>

The type that is returned when calling observe or observeLocal on a DittoPendingIDSpecificOperation object. It handles the logic for calling the event handler that is provided to observe or observeLocal calls. DittoSingleDocumentLiveQuery objects must be kept in scope for as long as you with to have your event handler be called when there is an update to the referenced document.

  • Undocumented

    Declaration

    Swift

    public let query: String
  • Undocumented

    Declaration

    Swift

    public let collectionName: String