Skip to main content
Deno 2 is finally 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@6.0.0/mod.ts";

Create Index

Parameters

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