Type alias DocumentExistsOptions

DocumentExistsOptions: { ifMatch?: string; ifNoneMatch?: string }

Options for checking whether a document exists in a collection.

Type declaration

  • Optional ifMatch?: string

    If set to a document revision, the document will only match if its _rev matches the given revision.

  • Optional ifNoneMatch?: string

    If set to a document revision, the document will only match if its _rev does not match the given revision.

Generated using TypeDoc