Home > git-documentdb > GitDocumentDB > delete
#
GitDocumentDB.delete() methodDelete a document by _id property in JsonDoc
Signature:#
ParametersParameter | Type | Description |
---|---|---|
jsonDoc | JsonDoc | Only the _id property of the JsonDoc is referenced. _id is a file path whose extension is omitted. |
options | DeleteOptions |
Promise<DeleteResultJsonDoc >
#
Remarks- This is an alias of GitDocumentDB#rootCollection.delete()
#
Exceptions# Errors from deleteWorker