Skip to main content
Module

x/denodb/deps.ts>MongoDBClient

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Go to Latest
class MongoDBClient
import { MongoDBClient } from "https://deno.land/x/denodb@v1.0.40/deps.ts";

Properties

readonly
buildInfo

Methods

connect(options: ConnectOptions | string): Promise<Database>
database(name?): Database
listDatabases(options?: { filter?: Document; nameOnly?: boolean; authorizedCollections?: boolean; comment?: Document; }): Promise<ListDatabaseInfo[]>
runCommand<T = any>(db: string, body: Document): Promise<T>