Type alias MongoDBService

MongoDBService: {
    serviceName: string;
    db(databaseName): MongoDBDatabase;
}

A remote MongoDB service enabling access to an Atlas cluster.

Type declaration

  • serviceName: string

    The name of the MongoDB service.

  • db:function
    • Parameters

      • databaseName: string

      Returns MongoDBDatabase

      The remote MongoDB database.

Generated using TypeDoc