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

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

Create Collection

Create a new Collection. Before using this route, you should create a new database resource using either a server integration API or directly from your database console.

Parameters

databaseId: string
collectionId: string
name: string
optional
permissions: string[]
optional
documentSecurity: boolean

Returns

Promise<Models.Collection>