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
I am new in MongoDB, all my life I used MySQL. I have created an account in atlas, set the IP to my IP and created a user and saved the password. here is my cod
I have a collection with child reference. Each document can have multiple parents. How can I query it with $graphLookup in order to make a result prepared for a
When I'm uploading form data to mongodb, in the image section it shows this: "C:\fakepath\imageName.jpg" with no actual image in it. And when I fetch the data f
I have tried every possible step I've come across but the problem doesn't resolve. The error shows: C:\Users\...............\server.js:35 store: MongoStore.crea
I am trying to build an application in my Express and anytime i navigate to the admin page i get this error const castError = new CastError();
I apologize for the vague question description, but I have quite a complex question regarding filtration in MongoDB aggregations. Please, see my data schema to
I'm very new user of Mongo and I'm trying to enable MongoDB connector for BI. I want to change my connect address, but it only connects to 127.0.0.1... I made a
So, I have a collection like this: [{ "name":String, "address":String, "hobby":Array of Strings }...] Every hour I query an API and get the response l
We have requirement to execute replaceOne operation with db.runCommand() I checked list of commands from here, but i haven't found any command to replace one do