Hi all,
I can't find a way to query by exact value of an array field in Rogue. It should be something like that:
Venue.where(_.tags eqs List("db", "ka")).toString() must_== """db.venues.find({ "tags" : [ "db" , "ka"]})"""
Described in MongoDB docs here: http://docs.mongodb.org/manual/tutorial/query-documents/#exact-match-on-an-array
I see there are other operators available in Rogue like 'neqs', 'in', 'all', etc., but they don't exactly match the functionality of 'eqs' because I want to say that these 2 arrays must be equal.
Perhaps I'm missing something?!
Thanks