DittoLiveQuery

public class DittoLiveQuery<T>

The type that is returned when calling when calling observe or observeLocal on a DittoPendingCursorOperation object. It handles the logic for calling the event handler that is provided to observe or observeLocal calls. DittoLiveQuery 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 a document matching the query you provide.

  • Undocumented

    Declaration

    Swift

    public let query: String
  • Undocumented

    Declaration

    Swift

    public let collectionName: String