3 ms·
As a LINQ user, I expected group('category').sample(3) to sample 3 categories, not to sample inside each category.
by br1 13y ago
As a LINQ user, I expected group('category').sample(3) to sample 3 categories, not to sample inside each category.
- coffeemug 13y agoIn ReQL you can do it with group('category').ungroup().sample(3). It's really powerful once you get the hang of it.