how to use collation with mongodb and dart?

176 Views Asked by At

I need to make insensitive sorting in a find command within mongodb. It is possible with mongodb >= 3.4 using the collation method:

db.myCollection.find({city: "new york"}).collation({locale: "en", strength: 2})

https://jira.mongodb.org/browse/SERVER-90

However, I can't seem to find the option using mongodart: https://pub.dartlang.org/packages/mongo_dart

0

There are 0 best solutions below