Skip to main content
Very Popular
Latest
method Collection.prototype.listIndexes
import { Collection } from "https://deno.land/x/mongo@v0.33.0/src/collection/mod.ts";

List the indexes on the collection

Returns

ListIndexesCursor<{ v: number; key: Document; name: string; ns?: string; }>

A cursor for the indexes