Back

realtime listening according to attribute

  • 0
  • Flutter
  • Realtime
Fatih YILMAZ
18 May, 2023, 20:47

There is a collection of messages and the messages have a team feature. I want to listen to them in realtime according to the team. 'database.${AppwriteConstants.databaseId}.collections.${AppwriteConstants.chatCollection}.documents.$team' I tried it, I think it doesn't work. Is something like this possible?

TL;DR
The user wants to listen to messages in real-time based on a specific attribute (team). They have tried using the provided syntax (database.${AppwriteConstants.databaseId}.collections.${AppwriteConstants.chatCollection}.documents.$team) but it doesn't seem to work. The solution suggested is to filter the messages client-side if the desired team is not supported.
Drake
18 May, 2023, 21:31

only the listed channels are supported. outside of that, you'll need to filter client side

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