Category "mongodb"

MongoDB Driver Builders<dynamic> dont work on equal to date

I am unable to get the result I wanted when I try to get Date equal to. FilterDefinition<dynamic> searchFilter = FilterDefinition<dynamic>.Empty; st

spring data MongoDB maintaining data integrity in bulk update

I have a scenario where list of say 1000's employees (sample below) where their balance is updated at every month end where balance of each employee can be diff

MongoDB BsonDocument - Serialize JSON as key-object

I have a doubt if it is possible to serialize a collection of BsonDocument results as a JSON pair of key objects. For example, I attach a piece of code that cre

How to stream data from Kafka to MongoDB by Kafka Connector

I want to stream data from Kafka to MongoDB by using Kafka Connector. I found this one https://github.com/hpgrahsl/kafka-connect-mongodb. But there is no step t

Insert a document with Flask-PyMongo

I have a MongoDB database and I want to use Flask-PyMongo to work with it in my Flask app. How do I add a database and a collection so I can add user documents

Composite Primary Key using MongoDB and Spring Data JPA

Could someone tell how to create a composite key in Spring Data JPA using Mongo DB

How does sorting with an index work in MongoDB?

I'm wondering how sorting with an index actually works in MongoDB. There are a couple articles in the MongoDB documentation, but they don't actually describe ho

Export and Import documents with UUID from MongoDB Compass Windows Application

Summary How to preserve UUIDs when exporting and importing documents? Export collection as JSON file Drop collection and re-create collection Import JSON file U