In MongoDB you can convert a collection into a capped collection with the command convertToCapped, but is there a way to revert this change so a capped collecti
convertToCapped
same as above without using script.
db.collection.copyTo("collection_temp") db.collection.drop() db.collection_temp.renameCollection("collection")