method Database.prototype.createIndexRe-exportimport { Database } from "https://deno.land/x/appwrite@2.0.2/mod.ts"; createIndex(collectionId: string,key: string,type: string,attributes: string[],orders?: string[],): Promise<Models.Index>Create Index ParameterscollectionId: stringkey: stringtype: stringattributes: string[]optionalorders: string[]ReturnsPromise<Models.Index>