Skip to main content

Home > git-documentdb > Collection > deleteFatDoc

Collection.deleteFatDoc() method#

Delete a data

Signature:
deleteFatDoc(shortName: string, options?: DeleteOptions): Promise<DeleteResult>;

Parameters#

ParameterTypeDescription
shortNamestringshortName is a file path whose collectionPath is omitted.
optionsDeleteOptions
Returns:

Promise<DeleteResult >

Exceptions#

Err.UndefinedDocumentIdError

Err.DatabaseClosingError

Err.TaskCancelError

# Errors from deleteWorker