Closed cnouguier closed 6 years ago
Using async createCollection
in model seems to work (createService
being async as well), however patching existing collections seems to be hard: https://stackoverflow.com/questions/44682160/add-default-collation-to-existing-mongodb-collection.
We have added indices with collation on most useful languages (en/fr) and locale in find queries to ensure correct sorting.
Case insensitivity requires to use collation in MongoDB, which has multiple issues: