opened
vmakhaev
username_0
Rewrote to use cursor methods instead deprecated operators.
Uses last mongodb 2.1 syntax.
Transforms user query operators to cursor methods.
$orderby -> .sort()
$skip -> .skip()
$limit -> .limit()

Passes tests.
mongo 3.2 support
issue
created
ovvn
username_1
+1
comment
created
Dignifiedquire
username_2
@username_0 looks like this needs a rebase or merge with the latest master branch as there seem to be merge conflicts
comment
created
vmakhaev
username_0
@username_2 I would be happy to merge it with master branch if there will be any reaction from @nateps to know if this PR gonna be accepted or rejected
comment
created
avital
username_3
I fixed merge conflicts locally and test this pull request against Mongo 2.6, 3.0 and 3.2 and they all pass the [improved test suite](https://github.com/share/sharedb-mongo/pull/31).

BTW an easy way to run different versions of Mongo in parallel is with Docker:
```sh
docker run -p 27017:27017 mongo:2.6
docker run -p 27018:27017 mongo:3.0
docker run -p 27019:27017 mongo:3.2
```
comment
created
avital
username_3
We need to also figure out the plan for the other "`metaOperators`", such as [`$comment`](https://docs.mongodb.org/manual/reference/operator/meta/comment/). And there should be probably be a test for each.
comment
created
avital
username_3
I filed a new issue to document and test all the metaOperators. https://github.com/share/sharedb-mongo/issues/33
comment
created
avital
username_3
Superseded by #33
comment