I am trying to populate the Java POJO class with the Mongo DB collection but getting null when trying to get data from the Pojo class Here CSVRow is ...
I am trying to populate the Java POJO class with the Mongo DB collection but getting null when trying to get data from the Pojo class Here CSVRow is ...
Does mongo java driver Aggregates has any method to add fields with values resolved from index of array operator ? Example :: Student 1: Name grad ...
I have the below data, and I want to filter the data for _id = "63283dd5777142017baa763b" and subCategory._id = "63283e25777142017baa7641" Using th ...
I want to push the previous state (if the values changed) during an upsert into an array history (atomar) but no matter what I try, I can't find a cle ...
I am setting the mongo logger as below When I run the query using java driver in Micronuat application But if I copy this command and try to run ...
I am trying to retrieve values of _id for inserted documents after successful InsertMany operation. To achieve this I am using InsertManyResult.getIns ...
I am very new to MongoDB. Trying to understand the best option to perform Bulk Write in MongoDB. I want to periodically refresh my Application collect ...
I am trying to get result of this MongoDB query on java. The query works perfectly fine and it is not showing anything when there is no data. But, ...
I have below Pojo class for the mongo entity when I fetch the mongo result as per the below code The id id mapped something like this However ...
I am using the mongoDb with Micronaut and trying to insert, get, delete and update the record. I have followed the guideline from here https://github. ...
I'm working with the Mongo Java Driver, but looking through Mongo's documentation, it doesn't look driver specific. update(filter, update) can update ...
I wonder how many roundtrips that are made to the server when using transactions MongoDB? For example if the Java driver is used like this: In this ...
I have two documents Now I would like to update documents - create new field as copy of lastUpdated field; In robo3T I can do something like this ...
I have around 10 millions of data in MongoDB. There is a requirement to add a new compound index. I used the following code to create the index. Using ...
I am interested in knowing how to have the createdAt and updatedAt field on mongo when using java sync driver. I know how to do it in mongoose I w ...
What I have been trying to get my head around is to perform some kind of partitioning(split by predicate) in a mongo query. My current query looks lik ...
We are using MongoDB v4.2 on IBM Cloud over the Reactive MongoDB Driver v1.11. We are currently experiencing the following exception randomly, usually ...
Tying to get a lookup working with the async java driver to join 2 collections. But I can't figure out the correct syntax to use as I can't find any d ...
I have a SQL like query example: The SQL query grammer is defined in an ANTLR4 grammar file. Is there any implementation that converts the parse tr ...
I am using Mongo java driver 3.11.1 and Mongo Version 4.2.0 for my development.I am still learning mongo. My application receives data and either have ...