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

x/appwrite/mod.ts>Databases#createIndex

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

Create Index

Parameters

databaseId: string
collectionId: string
key: string
type: string
attributes: string[]
optional
orders: string[]