mongo-redis-future
v1.0.0
Published
A package to allow for synchronous (future/fiber) communication with mongo and the optional addition of redis to make this compatible with meteor's redis-oplog package
Readme
Mongo Redis/Future
Designed to allow redis push hooks (for use with Meteor's redis:oplog package) and/or synchronous DB operations.
Usage
import { MongoCollection } from "mongo-redis-future";
const collection = new MongoCollection("collectionName", mongoDb, redisClient);
collection.[find,insert,update,remove,findSync,insertSync,updateSync,removeSync]