This doesn't seem to be an option at the moment. Here's a Discussion and an open Issue on Github requesting this functionality.
The recommended approach for doing something like this is to maintain a metadata collection and update the metadata with every document create/update/delete event. Then, you can fetch that metadata collection/document to get the unique values.
If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
@Sabiyo, there's no need to delete your original message
[SOLVED] distinct
Recommended threads
- Issue Related to Presence
```PresenceService: upsert error – AppwriteException: user_unauthorized, The current user is not authorized to perform the requested action. (401) ...
- iOS Auth - Apple OAuth not working.
when i use the prod app, the apple auth on ios is not working, it shows me: missing redirect url. however the debug version, connected to another project is wor...
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...