2 ms·
Do real-time subscriptions also work on sorted, filtered lists? E.g. If a new item is added to the list, will it appear in the list in real-time? Also, if an i
by jondubois 8y ago
Do real-time subscriptions also work on sorted, filtered lists?
E.g. If a new item is added to the list, will it appear in the list in real-time?
Also, if an item's property is changed so that its position in the list changes, will this update the list in real-time as well?
If so, how does it prevent over-fetching?
- 0x777 8y agoYes they work with filters, ordering etc. > ... prevent over-fetching This is handled server side. Subscriptions are more like 'live queries'. The server sends the data to the client only when the result set for the given 'live-query' changes.
- jondubois 8y agoIt sounds like the server has to keep track of all active live-queries. Does it need to re-fetch all of them on every update?