Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the list of available publishes in Meteor

Tags:

meteor

Similar to Meteor.default_server.method_handlers and Meteor.connection._methodHandlers which return lists of available methods on both server and client side. Is there a way to get such a list for Publishes?

like image 813
Don Avatar asked Dec 08 '25 08:12

Don


1 Answers

Meteor.default_connection._stores

And if you want to get the corresponding collection you can use, e.g.,

Meteor.default_connection._stores["publicationName"]._getCollection()
like image 168
Christian Fritz Avatar answered Dec 10 '25 04:12

Christian Fritz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!