BulkResponse
public struct BulkResponse: Codable
A struct representing an item in the response JSON Array of Objects from an HTTP request to the _bulk_docs API.
CouchDB reference: /db/_bulk_docs
-
A Bool representing whether the document was successfully processed
Declaration
Swift
public let ok: Bool? -
The Document ID.
Declaration
Swift
public let id: String -
New document revision token. Available if document has saved without errors.
Declaration
Swift
public let rev: String? -
Error type.
Declaration
Swift
public let error: String? -
Error reason.
Declaration
Swift
public let reason: String?
View on GitHub
BulkResponse Structure Reference