3.0.7 • Published 5 years ago

sharedb-mingo v3.0.7

Weekly downloads
64
License
MIT
Repository
github
Last release
5 years ago

sharedb-mingo

MongoDB like in-memory storage for sharedb. This driver can be used both as a snapshot, store and oplog.

The driver is written just for fun and it's not for the real use (maybe just for tests). It is just the way for me to learn sharedb more deeply.

It is based on mingo so it supports mongo queries with: $gt, $gte, $lt, $lte, $ne, $nin, $in, $and, $or, $nor, $not, $regex, $mod, $where, $all, $elemMatch, $size, $exists, $type, $orderby mongo specific operations and also $count, $skip, $limit - livedb-mongo specific operations.

At the moment it doesn't support $distinct, $mapReduce operators.

Usage

var sharedbmingo = require('sharedb-mingo');
var mingo = sharedbmingo(options);

var sharedb = require('sharedb').client(mingo); // Or whatever. See sharedb's docs.

MIT License 2016 by Artur Zayats

3.0.7

5 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.2

9 years ago