Structures

The following structures are available globally.

  • Provides an interface to specify a path to a key in a document that you can then call a function on to get the value at the specified key as a specific type. You obtain a DittoDocumentPath by subscripting a DittoDocument and you can then further subscript a DittoDocumentPath to further specify the key of the document that you want to get the value of.

    See more

    Declaration

    Swift

    public struct DittoDocumentPath
  • 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.

    See more

    Declaration

    Swift

    public struct DittoLiveQueryUpdate
  • Provides an interface to specify a path to a key in a document that you can then call various update functions on. You obtain a DittoMutableDocumentPath by subscripting a DittoMutableDocument and you can then further subscript a DittoMutbaleDocumentPath to further specify the key of the document that you want to update.

    See more

    Declaration

    Swift

    public struct DittoMutableDocumentPath
  • Provides information about a live query event relating to a single document live query.

    See more

    Declaration

    Swift

    public struct DittoSingleDocumentLiveQueryEvent
  • A summary snapshot of the types of connections currently active to a remote Ditto peer.

    See more

    Declaration

    Swift

    public struct DittoRemotePeer : Codable
    extension DittoRemotePeer: Identifiable