mongo-java-server icon indicating copy to clipboard operation
mongo-java-server copied to clipboard

Fake implementation of MongoDB in Java that speaks the wire protocol.

Results 37 mongo-java-server issues
Sort by recently updated
recently updated
newest added

Mongdb recently introduced transactions which would be a great addition to the library. https://docs.mongodb.com/manual/core/transactions/ Transactions are only available on replica sets and need v6 or higher of the Wire Protocol...

It's possible to integrate the aggregate operation $mergeObjects? Thanks

help wanted

Does current implementation support aggregation update?? If not are there any plans to add this support??

When switching from version 1.28.0 to 1.29.x and following I get the following exception in some test cases that use Mongo Java Server: java.lang.ClassCastException: Cannot cast org.bson.Document to java.util.List at...

Does this support aggregate pipeline stage $merge?

help wanted

MemoryBackend currently is coded to emulate Mongo 3.0.0 - any plans on supporting newer versions (3.6.0)? This would require updating the OpCode handling as 3.6 introduces a new OpCode that...

feature

I need to be able to test client sessions, but only replica sets support that. Is that possible with this?

feature

As https://github.com/bwaldvogel/mongo-java-server/issues/121 - but for projection inside a regular mongo `find()` operation. My test code is like so: ```java MongoCollection _col = ... FindIterable result = _col.find().project(fields(exclude("a.b", "c)); ``` Which...

Use of the $geoNear pipeline stage results in: ``` [Error 40324] Unrecognized pipeline stage name: '$geoNear' ``` It's clear it is not currently supported in `de.bwaldvogel.mongo.backend.aggregation.Aggregation.java` Example Mongo query usage:...

help wanted
good first issue

First thank you for your work. I wanted to use this fake implementation of Mongo for GeoSpatial queries also. But there is missing operators in file [QueryOperator.java](https://github.com/bwaldvogel/mongo-java-server/blob/master/core/src/main/java/de/bwaldvogel/mongo/backend/QueryOperator.java) When I try...

help wanted
good first issue