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

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Database.prototype.getCollection
import { Database } from "https://deno.land/x/appwrite@4.0.0/src/services/database.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>