We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An example would be lovely.
The text was updated successfully, but these errors were encountered:
Seems like txmongo doesn't have shortcut method for dropping database (yet).
But this can be easily done via command: conn.db.command("dropDatabase")
command
conn.db.command("dropDatabase")
Sorry, something went wrong.
Would this mean that @aalex would be the first person to use TxMongo to drop a database!? ;)
Thanks for the heads up.
Great! Thank you! It suggest that it should be added to txmongo.database as a drop() method.
Sounds reasonable, but PyMongo has drop_database method in MongoClient class instead: http://api.mongodb.org/python/current/api/pymongo/mongo_client.html
drop_database
MongoClient
We probably can have both
We now support drop_database thanks to @IlyaSkriblovsky commit: 4e11919
This is done in connection pool.
No branches or pull requests
An example would be lovely.
The text was updated successfully, but these errors were encountered: