Command or method clear all collections in mongodb or mongoose


Command or method clear all collections in mongodb or mongoose



Is there any command or method for MongoDB or mongoose to clear the data in all of my collections?



For now I have to clear the collection one by one.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

PySpark - SparkContext: Error initializing SparkContext File does not exist

django NoReverseMatch Exception

List of Kim Possible characters