pushToDatabase

fun pushToDatabase(document: Document)(source)

Send the created document to the Mongo collection.