Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/appwrite/mod.ts>Database#getCollection

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

Get Collection

Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.

Parameters

collectionId: string

Returns

Promise<Models.Collection>