I’m creating some functions with Python using PyMongo, create database and create collection. I’ve read the docs and it says that in order to databases to be created (committed) a document must be written.
Is there a way to only create a database without having collections and documents? Or is there a way to handle this kind of situation?