I have a mongo database with a collection that has about 6,000,000 documents.
I would like to know how to delete all the documents without deleting the database or the collection.
I saw that with remove
it can be done, but I doubt if with that command the collection is also deleted, because I do not want that to happen.
Use theft 3t.