In the first 2 examples, there's no propertyName in the .distinct() query:
https://www.wix.com/corvid/reference/wix-data.WixDataQuery.html#distinct
Is it supposed to do something, or it's just a wired way to explain the principle?
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
This looks more like bug in documentation, im passing this to our content people. Thank you a lot
Distinct should definitely used with propertyName