meteor/postgres-packages

Add the ability to do a static publication or subscription when steaming updates are not needed

Closed this issue · 6 comments

Maybe I missed it but I do not think so.

@Noah2828 Currently, this isn't a feature that Meteor publications have - they are always realtime. So this isn't really a Postgres-specific feature. Is there something about SQL that makes this feature more necessary than before?

rclai commented

You could use a method to return static data.

queso commented

Or put it in Meteor.settings and avoid the db calls.

Or put it in Meteor.settings and avoid the db calls.

What do you mean @queso?

queso commented

Meteor.settings.staticData could easily hold static data if needed.

Methods should work I was wondering if there was a different way of sending non reactive data with meteor sql implementation. As along as there is nothing preventing methods from doing it with the sql implementation. Than that answers my question thanks.