tock / ai.tock.shared / getAsyncDatabase

getAsyncDatabase

fun getAsyncDatabase(databaseNameProperty: String): MongoDatabase (source)

Return the async database specified in the databaseNameProperty. if the env or system property is not found, use the databaseNameProperty as database name (remove "_mongo_db" string is present).