Reputation: 51110
Using the MongoDB java driver I would like to get all unique values of a field called "category" where the field called "companyKey" has the value "XYZ".
First question, is this possible?
Second question, do you have any idea what the syntax would look like? I can't find any relevant docs ... pointers to docs would be equally helpful.
Upvotes: 0
Views: 739