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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...