Type alias MongoDBDatabase

MongoDBDatabase: {
    name: string;
    collection<T>(collectionName): MongoDBCollection<T>;
}

A remote MongoDB database enabling access to collections of objects.

Type declaration

  • name: string

    The name of the MongoDB database.

  • collection:function
    • Type Parameters

      Parameters

      • collectionName: string

      Returns MongoDBCollection<T>

      The remote MongoDB collection.

Generated using TypeDoc