Skip to main content
Filter by
Sorted by
Tagged with
5 votes
1 answer
202 views

After upgrading from .NET 9 to .NET 10, a MongoDB query that used to work now throws a System.NotSupportedException during query execution. I'm looking for pointers whether this is a runtime change in ...
mrcode's user avatar
  • 567
3 votes
2 answers
114 views

I'm getting an error in my mongodb aggregation pipeline with the $regexMatch operator. I'm trying to match fields that contain ISO date strings and convert them to a different format. Here's the ...
GrapeAllergy's user avatar
0 votes
1 answer
115 views

I have been experiencing slow mongo queries suddenly. The execution times varies very randomly. Initially I was suspecting this expensive aggregation operation :- { "appName": "XXXXXX&...
LEO_007's user avatar
  • 51
0 votes
1 answer
100 views

I use MongoDb in C#. Shown below is an object I want to clone, but also I want to merge it into the same collection. This is a simplified version of the document I use: class MyDocument { public ...
ugurg's user avatar
  • 1
3 votes
1 answer
53 views

exports.getAllProducts = async (req, res) => { try { console.log(req.query); const queryObj = { ...req.query }; const excludedFilters = ["page", "limit", "...
ahmad fakher's user avatar
0 votes
0 answers
71 views

I'm kind of new to mikro-orm, trying to wrap my head around as how to correctly define the relations between some of my entties in my collections. The idea is to store all my pre-defined modules in ...
Alexus's user avatar
  • 1,962
Advice
1 vote
2 replies
68 views

I want to connect to my mongodb running on my localhost machine (dockerhost) from inside a docker container. For that I have to allow connections other than localhost. Unfortunetly when using --...
Benedikt Lechner's user avatar
0 votes
2 answers
51 views

I'm building a strongly-typed generic MongoDB repository in TypeScript (using the official mongodb driver, v6.x). I want to compose filters dynamically using $and, but the TypeScript type system keeps ...
chyVacheck's user avatar
1 vote
0 answers
51 views

I am running a data ingestion ETL pipeline orchestrated by Airflow using PySpark to read data from MongoDB (using the MongoDB Spark Connector) and load it into a Delta Lake table. The pipeline is ...
Tavakoli's user avatar
  • 1,433
1 vote
1 answer
46 views

Problem Starting November 10th, my Jest integration tests began failing randomly with MongoDB connection errors. The tests use @testcontainers/mongodb v11.5.1 and mongodb v8.0.12. Error: ...
hiddenhenry's user avatar
Advice
0 votes
1 replies
32 views

Looking at the compatibility page, MongoDB 8.2 isn't listed as compatible. In practice, I suspect this page is updated less often than it should be, so I wonder if Mongoid is actually fully compatible ...
take's user avatar
  • 328
0 votes
0 answers
30 views

On a fresh Mongo DB 8.0 mono instance (no cluster) community edition install on Debian and through the package manager, i have a recurring error message in my logs saying this: "c":"...
Artusamak's user avatar
  • 2,510
Best practices
0 votes
1 replies
49 views

Trying to solve a conundrum I have in writing some queries. I’ve traditionally used simple find operations (and cursor operations for paging functionalities), but need something more complex to ...
Snappawapa's user avatar
  • 2,082
0 votes
0 answers
70 views

I want to deploy an app on Kubernetes with Helm. This app is composed of multiple parts, 2 of them are a Spring backend and a Mongo database. I want to deploy theme in 2 pods and have them talk with ...
Cameron's user avatar
  • 11
0 votes
0 answers
25 views

When using the $vectorSearch aggregation stage and specifying filter, using the $exists operator isn't supported, but another way of effectively doing the same thing is to check if the property value ...
charskiee's user avatar
0 votes
0 answers
23 views

I've a docker-compose, that declares 2 services, a mongo bd and a python scripts. If I run this docker compose up it works fine. services: mongo: image: mongo:7.0 container_name: mongo_db ...
hcarrasko's user avatar
  • 2,352