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

x/appwrite/src/services/databases.ts>Databases#updateDocument

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

Update Document

Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.

Type Parameters

Document extends Models.Document

Parameters

databaseId: string
collectionId: string
documentId: string
optional
data: object
optional
permissions: string[]