Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Admin

Index

Methods

addUser

  • addUser(username: string, password: string, callback: MongoCallback<any>): void
  • addUser(username: string, password: string, options?: AddUserOptions): Promise<any>
  • addUser(username: string, password: string, options: AddUserOptions, callback: MongoCallback<any>): void

authenticate

  • authenticate(username: string, callback: MongoCallback<any>): void
  • authenticate(username: string, password?: undefined | string): Promise<any>
  • authenticate(username: string, password: string, callback: MongoCallback<any>): void

buildInfo

  • buildInfo(): Promise<any>
  • buildInfo(callback: MongoCallback<any>): void

command

listDatabases

  • listDatabases(): Promise<any>
  • listDatabases(callback: MongoCallback<any>): void

logout

  • logout(): Promise<any>
  • logout(callback: MongoCallback<any>): void

ping

profilingInfo

  • profilingInfo(): Promise<any>
  • profilingInfo(callback: MongoCallback<any>): void

profilingLevel

  • profilingLevel(): Promise<any>
  • profilingLevel(callback: MongoCallback<any>): void

removeUser

replSetGetStatus

  • replSetGetStatus(): Promise<any>
  • replSetGetStatus(callback: MongoCallback<any>): void

serverInfo

  • serverInfo(): Promise<any>
  • serverInfo(callback: MongoCallback<any>): void

serverStatus

  • serverStatus(): Promise<any>
  • serverStatus(callback: MongoCallback<any>): void

setProfilingLevel

  • setProfilingLevel(level: string): Promise<any>
  • setProfilingLevel(level: string, callback: MongoCallback<any>): void

validateCollection

  • validateCollection(collectionNme: string, callback: MongoCallback<any>): void
  • validateCollection(collectionNme: string, options?: Object): Promise<any>
  • validateCollection(collectionNme: string, options: Object, callback: MongoCallback<any>): void

Generated using TypeDoc