DocumentResponse

public struct DocumentResponse: Codable

A struct representing the response from a request to insert, update or delete a Document.

CouchDB reference: /db/doc

  • ok

    Operation status.

    Declaration

    Swift

    public let ok: Bool
  • id

    Document ID.

    Declaration

    Swift

    public let id: String
  • rev

    Revision MVCC token

    Declaration

    Swift

    public let rev: String