Open doubletaketech opened 9 years ago
If I'm correct it "grounds" the entire collection
Thats what it looks like. Major showstopper for me. I have too much data in my collections to ground it all. I need subscription-grounding :)
Based on my testing Ground crashes the app on client startup when you have a lot of data. Load app in browser. Close Browser. Re-open app. Crash. I remove GroundDB and ground calls, and the app is fine.
I need a solution for a mobile web app to run offline even and persist data even if the user closes the browser and re-opens the app. It must support grounding only the filtered collection data I have in my subs.
Thanks, Don
I just tested this and I added a filter on the subscription find and then looked in the browser's localStorage and it only had the matching records in there. I could have misunderstood what was being asked but it looks to me that only the filtered subscription is being grounded and not the entire collection.
@malhal ground db respects the data publication - thats the main issue when using iron router.
@raix Is it possible to grounddb to keep adding entries to the grounded collection as the user navigates to other routes? (without erasing the old entries or publishing the whole collection)
Eg: Collection with players.
Edit: ok, now I see GroundMeteor/subscriptions is the way. :stuck_out_tongue:
How does GroundDB work with Subscriptions? I have subscriptions that don't load all the data in a collection. They load a subset of filtered results.
If I Ground this collection, will it download ALL the documents in the collection? Or just what the subscriptions are asking for?
Thanks, Don