I am following official MongoDB typescript tutorial to convert my javascript app to typescript one. After code conversion i am facing following error: routes/us
I'm a student and trying to make a simple image uploading API using form data and MongoDB. But I'm having hard time solving errors. I think it's the server side
How to bring age group base data from a collection in MongoDB i.e how many people are 0-18, 19-24, 25-34, 35+ [ { "_id": ObjectId("608be7c608c7de2367c8963
I'm building an image upload app using multer and cloudinary. I've configured my environment variables properly using dotenv. However, when I try to upload file
i just install mongodb on ubuntu windows using sudo apt-get -y install mongodb. after installation was finsished, i want to start using sudo systemctl start mon
So I have a list of posts data that looks like this: [ {user: 'Bob', country: 'USA'} {user: 'Kim', country: 'Mexico'} {user: 'Darren', country: 'Mexico'}
I'm upgrading the mongo driver to an ASPNet Framework (4.8) application from 2.7.3 to the latest, 2.15.0. I just use VS to upgrade the nuget packages, nothing
I am trying to update my collection through mongodb shell but unsuscessfully due to this error: "Update document requires atomic operators" db.dogs_main_breed.u
I am able to insert the data to mongodb collection. Same time Javers framework trying to insert the data to jv_snapshots collection. Data insertion to jv_snapsh
I'm trying to enable the MongoDB Free Monitoring on an EC2 instance, but I got the error: Unable to get immediate response from the Cloud Monitoring service. W
I have a class that extends AbstractMongoEventListener and overrides onAfterSave and onAfterDelete. The onAfterDelete does not trigger for some reason. The onAf
I have created a project that uses MongoDB to store user info and Next-Auth to authenticate users. On local host this is all working seamlessly. Previously I ha
I wonder why this is not working… This function should return true if there are any documents that match query. Thing I want to do is if the frequency is
Here's the current state of my setup and tear down methods: beforeAll(async () => { // await populate(); try { await client.connect(() =>
I am trying to store and work with a similar to following structure data using Deno and MongoDB. [ { id: "AAPL", stockData: [
I have a collection where I store unique uID for a user and I also have to register them manually. While registration I pass multiple IDs in an array and now I
I have a business hours object in a mongoose schema that represent a date. I'm passing a json object and retrieving the to parse to Date as string. I wonder if
Example data [ { owner: '0x123124124', createdAt: '13 May 2022 at 04:20:21 UTC'}, { owner: '0x123124124', createdAt: '13 May 2022 at 06:20:21 UTC'}, {
I'm trying to connect my app to mongodb, and I got a connection string from mongodb atlas, requiring me to replace username and password, which I get it, but it
I have a list of commentDocument collection in MongoDB where each has the following structure: { "commentName": "test comment", "outputs": { "ex