import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { MongoClient } = mongo;
Methods
close()
connect(options: ConnectOptions | string): Promise<Database>
listDatabases(options?: { filter?: Document; nameOnly?: boolean; authorizedCollections?: boolean; comment?: Document; }): Promise<ListDatabaseInfo[]>
runCommand<T = any>(db: string, body: Document): Promise<T>