Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/database.ts>Database#deleteDocument

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Database.prototype.deleteDocument
import { Database } from "https://deno.land/x/appwrite@0.0.2/src/services/database.ts";

Delete Document

Delete document by its unique ID. This endpoint deletes only the parent documents, his attributes and relations to other documents. Child documents will not be deleted.

Parameters

collectionId: string

collectionId

documentId: string

documentId

Returns

Promise<string>

Promise