suppose, I have an existing capped collection with the following syntax.
db.createCollection("mycappedCollection",{capped: true, size: 2, max:2})
Now, what i want is to modify the above collection and add the autoIndexId option.
like:
db.createCollection("mycappedCollection",{capped: true, autoIndexId: true, size: 2, max:2})
How can I modify the existing mycappedCollection?