Back

[SOLVED] distinct

  • 0
  • Flutter
ideclon
23 Nov, 2023, 00:39

This doesn't seem to be an option at the moment. Here's a Discussion and an open Issue on Github requesting this functionality.

TL;DR
Solution: There is currently no distinct functionality available in the app. However, a recommended approach is to maintain a metadata collection and update it with every document event. This way, you can fetch the metadata collection/document to get unique values. There is an ongoing discussion and open issue on Github regarding this feature request.
ideclon
23 Nov, 2023, 00:39

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.

ideclon
26 Nov, 2023, 06:41

If your issue has been solved, you can mark this post as closed by adding β€œ[SOLVED]” to the beginning of the title

Drake
27 Nov, 2023, 16:49

@Sabiyo, there's no need to delete your original message

Drake
27 Nov, 2023, 16:49

[SOLVED] distinct

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more