MongoDBServerResource.addDatabase
Method
interface MongoDBServerResource { // ... omitted for brevity addDatabase( name: string, databaseName?: string): MongoDBDatabaseResource;}Signature
method
addDatabasebuilderAdds a MongoDB database to the application model.
addDatabase( name: string, databaseName?: string): MongoDBDatabaseResourceParameters
namestringdatabaseNamestringoptionalReturns
MongoDBDatabaseResourceDefined on
This method is defined on the following type: