Type alias GraphCollectionRemoveOptions

GraphCollectionRemoveOptions: {
    returnOld?: boolean;
    rev?: string;
    waitForSync?: boolean;
}

Options for removing a document from a graph collection.

Type declaration

  • Optional returnOld?: boolean

    If set to true, the complete old document will be returned as the old property on the result object.

    Default: false

  • Optional rev?: string

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

    See also documents.DocumentMetadata.

  • Optional waitForSync?: boolean

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

    Default: false