Vulcan/packages/vulcan-lib/lib/client/mongo_redux.js
2018-09-23 10:52:52 +09:00

12 lines
396 B
JavaScript

// import { getRenderContext } from './render_context.js';
// const { store } = getRenderContext;
// // use global store
// Mongo.Collection.prototype.findRedux = function (selector = {}, options = {}) {
// return this.findInStore(store, selector, options);
// }
// Mongo.Collection.prototype.findOneRedux = function (_idOrObject) {
// return this.findOneInStore(store, _idOrObject);
// }