import { MongoDBDatabase } from "https://deno.land/x/denodb@v1.1.0/deps.ts";
Methods
collection<T = Document>(name: string): Collection<T>
createUser()
username: string,
password: string,
options?: CreateUserOptions,
dropUser(username: string, options?: { writeConcern?: Document; comment?: Document; })
listCollectionNames(options?: { filter?: Document; authorizedCollections?: boolean; comment?: Document; }): Promise<string[]>
listCollections(options?: { filter?: Document; nameOnly?: boolean; authorizedCollections?: boolean; comment?: Document; }): CommandCursor<ListCollectionsResult>