MongoDB is a scalable, high-performance, open source, document-oriented database.
Given this document saved in MongoDB { _id : ..., some_key: { param1 : "val1", param2 : "val2", param3 : "val3" } } An object with new information …
mongodb mongodb-javaI am using MongoDB in my application and was needed to insert multiple documents inside a MongoDB collection . The version …
java mongodb bulkinsert mongodb-javaI want to mock a method with signature as: public <T> T documentToPojo(Document mongoDoc, Class<T&…
java unit-testing mockito mongodb-java springmockitoI am trying to find documents in MongoDB by searching on "_id" key. My document looks like this- { "_id" : ObjectId("4…
java mongodb mongodb-javaThis is my first attempt to consume MongoDB. I've got Mongo running: ps -ef | grep [m]ongo mongodb 11023 1 0 Jun24 ? 00:00:03 /usr/…
mongodb mongodb-javaI get this error on a find call (default Java Driver) after a period of inactivity. I tried to add …
java mongodb mongodb-java composeI want to create the following document schema in mongoDB using the java driver { "_id": { "$oid": "513e9820c5d0d8…
mongodb mongodb-javaI'm getting some difficulties to call a stored function within mongdb. I'm a little bit newbie with mongo. [EDIT] : my …
mongodb mongodb-javaHow do I export the results of a MongoDB command to a flat file For example, If I am to …
mongodb mongodb-java mongodb-queryI use spring data mongodb. I want the records between two dates. The following MongoDB Query works: db.posts.find({…
java spring spring-data mongodb-java