Schema for a document.

interface Document {
    _attachments?: JsonObject;
    _conflicts?: string[];
    _deleted?: boolean;
    _deleted_conflicts?: string[];
    _id?: string;
    _local_seq?: string;
    _rev?: string;
    _revisions?: Revisions;
    _revs_info?: DocumentRevisionStatus[];
    [propName: string]: any;
}

Indexable

[propName: string]: any

Document accepts additional properties.

Properties

_attachments?: JsonObject

Schema for a map of attachment name to attachment metadata.

_conflicts?: string[]

Schema for a list of document revision identifiers.

_deleted?: boolean

Deletion flag. Available if document was removed.

_deleted_conflicts?: string[]

Schema for a list of document revision identifiers.

_id?: string

Document ID.

_local_seq?: string

Document's update sequence in current database. Available if requested with local_seq=true query parameter.

_rev?: string

Schema for a document revision identifier.

_revisions?: Revisions

Schema for list of revision information.

_revs_info?: DocumentRevisionStatus[]

Schema for a list of objects with information about local revisions and their status.

Generated using TypeDoc