Results for mongodb
I'm developing a Node.js twitter-like application where I use Mongoose (version 8.0.2) to interact with a MongoDB Atlas database. However, I've encoun...
For instance, I have this JSON inject { "insert": "2023-12-08T09:49:00" } It is String I have sent this query here db.example.find({ "insert" : { ...
I'm currently working on a MERN stack project and facing an issue while attempting to connect my Mongoose to MongoDB Atlas and i already set IP addres...
I have an inventory management system app that uses react for the frontend and express for the backend along with mongoDB. I have a table of products ...
I am trying to retrieve some documents from a collection in my MongoDB instance. Here you are the entire collection: [ { _id: ObjectId("65708c62...
I'm trying to install mongo db but I could not get any proper documentation where I can get how to install mongo compass on my macbook pro 2017. I nee...
I'm having trouble deleting an document in an array using the offical mongodb c# driver. What i'm trying to do is also return the document that was de...
I need to verify in a unit test that the AggregateAsync method received a specific aggregation command that is represented via a PipelineDefinition in...
I'm new to MongoDB, so I may have some terminology wrong, but I don't think I've seen anyone ask a question exactly like this: If I have a collection ...
I am encountering an error when my WebAPI project attempts to access MongoDB. Both of these applications are in the same container network, and this s...
I'm developing a recipe sharing web app using MERN stack, and i was planning to use this kind of url for showing the recipes info ../recipe/:recipeNam...
Hello MongoDB community, I am trying to understand the difference in the results and performance implications between two aggregate queries in MongoDB...
Hello I am new to MongoDB. I want to fetch all posts with user details of who created the post. I have two collections. users collection: [{ "_id":...
I am creating a cart for an ecommerce website, and decided to store cart items for users in Mongodb. I can store the items with no problem and the sho...
Is there a way in Postgres to achieve the same functionality as the $facet query in mongodb? That is to create forks from the results of a query and r...
I have the documents structured in MongoDB 6.0 as below. { "_id" : ObjectId("6555a7d7c2d9de74abb09de8"), "tagName" : "tag1", "tagValue" : ...
Working with Nestjs & Mongodb, trying to search the database for all "summaries" that contain all the keywords (Which is an array of strings). It work...
I have an object stored in my collection in mongodb { "students" : { "[email protected]" : {"gender" : "M", "marks" : 30}, "[email protected]" : {"g...
I am currently facing a challenge assigned by my superior. The task at hand involves the storage of a substantial volume of images, each approximately...
I'm learning how to make requests using node.js. My problem is that it generates these errors when making the requests (Cannot GET /Citaup/654fe24584f...
I'm trying to sort a couple of arrays by frequency inside every document of a MongoDB collection. My documents right now look something like { "_i...
I have an index called type_1_reimbursement.reimbursement_vendor_1_reimbursement.status_1_reimbursement.employee_note_1_company_id_1_created_1 which I...
Currently I have a devices table with the following properties: And i want to select userId, token, type field in this case with this code: client = ...
Just a simple question I could'nt get the answer through the doc nor stackoverflow: I'd like to encode a discriminating unique value for my documents ...
So apparently I tried to making a happy birthday wish dashboard which included about 400 Document about (1mb), Which I tried ask ChatGPT before coming...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?