-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support collation for MongoDB 3.4+ #630
Comments
👍 for the collation! |
Hello @cchantep - Is collation a work in progress / is anyone working on this right now? I'd like to assist if possible |
No WIP |
Why? |
... Because it need to be develop, but nothing ongoing |
@cchantep I see that on 0.16, collation has been added, but at least when using it with 'unique', it doesn't seem to make any effect. Is it really implemented? |
If this is still open, there is still work to be done. |
any updates or plan on this? |
Partial support. Be more specific if you expect something. |
@cchantep Hi there, I need to use collation in |
|
Hi, def aggregate(pipeLine: BSONArray): Future[JsObject] = {
val commandQuery = BSONDocument(
"aggregate" -> "mycollection",
"pipeline" -> pipeLine,
"collation" -> BSONDocument("locale" -> "en", "strength" -> 1)
)
val runner = Command.run(BSONSerializationPack)
db.flatMap(db => {
runner.apply(db, runner.rawCommand(commandQuery)).one[JsObject]
})
} |
|
Thanks @cchantep you're the mvp ;) |
No description provided.
The text was updated successfully, but these errors were encountered: