How to view or modify collation options set on a MongoDB collection?
问题 How do you modify the options that we set on a collection at the time of creation? And how do we view the options already set? If we see the collation option for example, I create a collection like this: db.createCollection("words", {collation : {locale :"es", strength : 2}}); And add few documents: db.words.insertOne({text : "Résumé"}); db.words.insertOne({text : "Resume"}); db.words.insertOne({text : "résumé"}); db.words.insertOne({text : "resume"}); How do I change the strength of the