Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Database#updateDocument

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Database.prototype.updateDocument
Re-export
import { Database } from "https://deno.land/x/appwrite@2.0.2/mod.ts";

Update Document

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

Parameters

collectionId: string
documentId: string
data: object
optional
read: string[]
optional
write: string[]