Is it possible to subscribe to subdocuments?

We have a collection containing large documents with arrays containing a lot of subdocuments.
Every Model document contains an array with several thousand examples.

I thought this design would make more sense than a relational one as examples are always requested in the context of a model.

In Meteor, these examples are displayed in an editable table, and examples are frequently added/modified/deleted.

And here is the problem. Because the client subscribes to model changes, every example change triggers a server->client update with the whole model (several megs of data).

Is there a way to only subscribe to granular changes withing a document?

The short answer here is no… The best bet is to rework and normalize your data model.

1 Like

And if you have relational data requirements check out the excellent grapher package

2 Likes