connectToDB

fun connectToDB(dbName: String)

Connects to a specific database. If there is no database with the input name in the mongo instance, an empty one will be created.