Delete documents asynchronously from the collection. This function will attempt to remove each document in the provided list of IDs from the collection. If an error occurs during the deletion of a document, an error will be thrown with the ID of the document and the error message.
delete(ids: string[]): Promise<void>| Name | Type | Description |
|---|---|---|
ids* | string[] | An array of document IDs to be deleted from the collection. |