execute

fun execute(executor: (db: MongoDb) -> Unit)(source)

Executes an operation with MongoDB thread executor if MongoDB is enabled