A structural subset of the driver MongoClient — the members the adapter
drives.
connect(): Promise<void>
Opens the connection.
close(): Promise<void>
Closes the connection.
db(name: string): IMongoDatabase
Returns the database named name.
Starts a new session.