import { Databases } from "https://deno.land/x/appwrite@10.0.0/mod.ts";
Create index
Creates an index on the attributes listed. Your index should include all
the attributes you will query in a single request.
Attributes can be key
, fulltext
, and unique
.
Parameters
type: IndexType
Returns
Promise<Models.Index>