Type alias CollectionRemoveOptions

CollectionRemoveOptions: { ifMatch?: string; returnOld?: boolean; silent?: boolean; waitForSync?: boolean }

Options for removing a document from a collection.

Type declaration

  • Optional ifMatch?: string

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

  • Optional returnOld?: boolean

    If set to true, the complete old document will be returned as the old property on the result object. Has no effect if silent is set to true.

    Default: false

  • Optional silent?: boolean

    If set to true, no data will be returned by the server. This option can be used to reduce network traffic.

    Default: false

  • Optional waitForSync?: boolean

    If set to true, changes will be synchronized to disk before returning.

    Default: false

Generated using TypeDoc