News for hackers. Stuff that matters.
Re:RethinkDB 1.12: simplified map/reduce, ARM port, new cach... by br1 on Wednesday March 26, 2014 @08:13PM (#7477658)
As a LINQ user, I expected group('category').sample(3) to sample 3 categories, not to sample inside each category.
Re:RethinkDB 1.12: simplified map/reduce, ARM port, new cach... by coffeemug on Wednesday March 26, 2014 @08:23PM (#7477694)
In ReQL you can do it with group('category').ungroup().sample(3). It's really powerful once you get the hang of it.