meteor / postgres-packages

Early preview of PostgreSQL support for Meteor (deprecated, here for historical reasons)
http://meteor-postgres.readthedocs.org/
158 stars 25 forks source link

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

Closed ghost closed 8 years ago

ghost commented 8 years ago

Maybe I missed it but I do not think so.

stubailo commented 8 years ago

@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 8 years ago

You could use a method to return static data.

queso commented 8 years ago

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

stubailo commented 8 years ago

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

What do you mean @queso?

queso commented 8 years ago

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

ghost commented 8 years ago

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.