You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reacti...@googlegroups.com
Hey there,
If you import reactivemongo.bson._ you get the implicit function collectionToBSONArrayCollectionWriter into scope. It will basicly allow you to implicitly convert a collection into a BSONArray.
You should be able to write your query as:
val query = BSONDocument(
"mygroupId" -> BSONDocument(
"$in" -> someIds
)
)
Jaap
Jaap Taal
unread,
Apr 5, 2014, 9:37:55 AM4/5/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reacti...@googlegroups.com
BTW this implicit magic isn't very well documented, at least I haven't really seen it. I've learned about the implicit conversions available by looking at the source: