Vulcan/packages/vulcan-lib/lib/client/mongo_redux.js

13 lines
396 B
JavaScript
Raw Normal View History

// import { getRenderContext } from './render_context.js';
2017-02-06 14:33:34 +08:00
// const { store } = getRenderContext;
2017-01-31 17:54:56 +09:00
// // use global store
// Mongo.Collection.prototype.findRedux = function (selector = {}, options = {}) {
// return this.findInStore(store, selector, options);
// }
2017-01-31 17:54:56 +09:00
// Mongo.Collection.prototype.findOneRedux = function (_idOrObject) {
// return this.findOneInStore(store, _idOrObject);
// }