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#getDocument

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

Get Document

Get document by its unique ID. This endpoint response returns a JSON object with the document data.

Parameters

collectionId: string

collectionId

documentId: string

documentId

Returns

Promise<string>

Promise