Select Distinct - how?
![Mr_English](https://us.v-cdn.net/6037124/user_avatars/1271230.jpg)
Hello
Can someone point me to the feature that will enable me to select the distinct values of a query filter, such as:
[
{"recipientID":538},
{"recipientID":538},
{"recipientID":411},
{"recipientID":533},
{"recipientID":538}
]
Distinct would return:
[
{"recipientID":538},
{"recipientID":411},
{"recipientID":533}
]
I've checked in the Output page, but nothing seems to do the job.
I have seen Distinct Records select, but I don't know what it does.
Thanks.
Best Answer
-
Sounds like the Unique filter is what you're looking for. https://docs.xano.com/working-with-data/data-type-filters/array-filter#unique
Answers
-
@jwhitlock Thanks! Yes I got it the next day - I thought it would have the same name as the SQL operator. The link you sent is useful. Still not sure what the Distinct Records select in the Output area is for though - @Michael Udinski could you shed light on this?
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback