Back

List off data base documentation

  • 1
  • Apple
InsightNSai Admin
6 Dec, 2023, 13:38

Hi I’m new to appwrite apple sdk. I'm trying to implement real time update for new documentations added to the database . I tried to work with real time subscribe method and I didn’t succeed with my goal - to get the full list of documentations after user update. For instance if I have locations coordinates collection and I want to show them inside a map and update the map for deleted locations I need array of the updated relevant coordinates

TL;DR
Summary: The user is trying to implement real-time updates for new documentations added to the database using the appwrite apple sdk. They failed to achieve their goal using the real-time subscribe method. They want to get a full list of documentations after a user update. Solution: The user should try using the create/update events in the collection to subscribe to the documents. This way, they can update the UI and retrieve the updated list of documentations, such as coordinates for a map display.
Drake
6 Dec, 2023, 17:32

You would subscribe to the documents in the collection. every event/payload that comes in would be a create/update in the collection. Then, you can update your UI

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