Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Datastore

Index

Constructors

constructor

Properties

db

db: Db

Private mongoClient

mongoClient: MongoClient

Private mongoUrl

mongoUrl: string = ''

Private options

options: { database: string; host: string; password: string; port: string; protocol: string; user: string } = ...

Type declaration

  • database: string
  • host: string
  • password: string
  • port: string
  • protocol: string
  • user: string

ready

ready: boolean = false

Methods

ObjectId

  • ObjectId(): typeof ObjectId

close

  • close(): Promise<void>

connect

  • connect(): Promise<any>

init

isReady

  • isReady(): Promise<boolean>

Generated using TypeDoc