Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
37 views

I'm struggling to connect from my Rails deployment to an Atlas Cluster. This is my MONGODB_URI: mongodb+srv://JohnDoe:****@cluster0.*****.mongodb.net/XYZ_prod?retryWrites=true&w=majority The ...
Thomas's user avatar
  • 79
3 votes
1 answer
69 views

Mongo can't bring records which are in far far future like 2394-10-20T16:10:23 now: 2025-11-17 Description: I have a timeseries collection in mongo and here is the command to created it: db....
zamoosh's user avatar
  • 119
Advice
0 votes
1 replies
31 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
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
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
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
2 votes
1 answer
77 views

I'm trying to implement a robust search function in my NestJS/Mongoose application that can handle partial matches while being case-insensitive and diacritics-insensitive (ignoring accents). My ...
Steeven Delucis'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
0 votes
1 answer
44 views

I am trying to read data from MongoDB in Spark 4.0.1 using the MongoDB Spark Connector (version 10.5.0). My PySpark code looks like this: from pyspark.sql import SparkSession spark = SparkSession....
Tavakoli's user avatar
  • 1,433
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
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
3 votes
1 answer
92 views

Summary Running Django migrations against our MongoDB database does not create MongoDB collections or indexes as defined in our app. The command completes without errors, but no collections or indexes ...
Neeraj Verma'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
0 votes
0 answers
53 views

I have a collection migrationTest in MongoDB with a unique index for the message field. In my migration I'm inserting documents to this collection and in one place I'm using the existing message to ...
maksim's user avatar
  • 498
4 votes
2 answers
83 views

The BSON Timestamp type, documented here https://www.mongodb.com/docs/manual/reference/bson-types/, includes a 32-bit time_t field. Does anyone know whether this field is signed or unsigned? If signed,...
DaddyLongToes's user avatar
3 votes
2 answers
143 views

I'm encountering an issue in a Go application that uses the official MongoDB Go driver. We have the use case where a ReplicaSet is recreated from scratch. Replica Set consists of 2 members, no arbiter ...
Isaac's user avatar
  • 31
2 votes
1 answer
71 views

I am new to programming (and NextJS) and I'm building a NextJS app, using Mongoose for my MongoDb connection. I was wondering if I should close the connection after each query? Right now I am just ...
Alex's user avatar
  • 13
0 votes
0 answers
61 views

I'm currently trying to create the model using nestjs mongoose schema, and i want to convert the mongodb data from snake case to camel case in my schema layer like this: export type ...
Izukishi's user avatar
0 votes
1 answer
46 views

i have some problems in production using mongo We have python using mongo and mongo-express for ui. And we are facing performance issues, after research i found db.currentOp() to see queries which are ...
Zesshi's user avatar
  • 524
1 vote
0 answers
43 views

Say I have a document in a Mongo collection that looks like the following: { "_id": "01:550204", "somefield1": "someValue1", "somefield2": "...
djsumdog's user avatar
  • 2,818
-4 votes
1 answer
62 views

📝 Body I have a Mongo collection CollectionA where each top-level object contains a nested array of meetings now each meetings have start and end times, for example: CollectionA = [ { &...
LEO_007's user avatar
  • 51
0 votes
0 answers
74 views

I am developing a project using Kotlin and the Quarkus framework (version 3.20 LTS), that connects to a MongoDB database, which has already been populated previously with some documents using the ...
talkingDesk's user avatar
2 votes
1 answer
71 views

I'm trying to build an older version of Mongod on Arch Linux. It's required by software called Deadline that I intend to use; Deadline's documentation says the following: "For maximum ...
AlexM's user avatar
  • 241
1 vote
0 answers
37 views

I have a MongoDB Docker container, running locally. I have set this up using the following file, docker-compose.yml services: mongodb: container_name: mongodb-local image: mongo:latest ...
user2318704's user avatar
1 vote
0 answers
51 views

I have tried to import mongodb into my lambda function and I keep getting an error message when I attempt to test it. All the recommended resolutions I have seen assume I am working in an environment ...
Daniel DeLuca's user avatar

1
2 3 4 5
3509