API return distinct users identifier

Hello guys, I have a problem with my parse server.
In my installation table I have about 900K installation, I have all the normal attribute and I added a custom user identifier (the Italian Codice Fiscale). My customer ask me: How many user are registered for Push Notification service? The problem is that I have a sort of number of installation for each user identifier. Is ther a way to extract the list af all the user identifier? Like the SQL: SELECT DISTINCT (CODICE_FISCALE) FROM INSTALLATION.

Thanks.

Yes. You can do a query to the Parse.Installation class using the distinct() function: JavaScript Developers Guide | Parse

2 Likes