I need to execute a lookup stage on all documents inside an array. The collection: { { "name": "test", "age": 2, "replies": [ {
I have this in my backend: ad = await Ad.find({'company': companyId}).populate('creator'); And when i console.log(ad) i get this: [ { connections: [],
how is possible create database inside existing cluster with Mongo atlas api? I'm trying to use POST /groups/{GROUP-ID}/databaseUsers but didn't work. https://w
We are currently using fiware Orion with Mongo DB on a docker container in a Kubernetes cluster and everything works fine, however as soon as I am trying to use
I use mongodb and mysql together with Laravel. Fields table in mysql database can have more options in mysql database. fields table in mysql: id, name options
I am trying to connect to my local MongoDB Database that is on docker with nodejs. My component are: .env file MONGODB_USERNAME = 'accountUser' MONGODB_PASSWORD
I am trying to create a 2sphere index in my mongodb collection. The index needs to be on location field which is at GeoJSON format: location: { coordinat
My server gets a response from another server with a document from a mongodb database with a body similar to { messageDetails: { body: "hello" }
I have the following pipeline, which I want to use it in Golang and convert it to bson.M. One way is using bson.UnmarshalExtJSON but I want to know what is exac
I'm using symfony 3.4 with DoctrineMongoDBBundle and LexikJWTAuthenticationBundle . I'm trying to create a user login which return JWT token. If i specify the u
I have been working on a React application that would connect to MongoDB Atlas with Mongoose. Using nodemon and webpack for hot reloading it would reconnect to
I have an aggregation written in a MyRepository.kt file which is being called from MongoDataRetriever.kt file in the backend. MyRepository.kt file: import org.s
I have all combination of compound indexes for this collection. The aggregattion query i used is: db.products.aggregate( [ { $facet: { "categ
Could anyone please provide the sample code in spring-boot for Debezium connector Listeners class and configuration class for MongoDB which provide the changed
I have a use case where we need to use both MySQL and MongoDB in a distributed transaction i.e. if either of MySQL or MongoDB fails, both MySQL and MongoDB must
I'm implementing a pipeline on mongo which have this structure: db.COLLECTION.aggregate([ { $match: { $or: [ {
I am trying to update a boolean inside of an object in my discord.js v13 bot but it does not update here are the things i've tried: await gu
Mongoose recently updated to accept a model generic it works well with a string type but not with a boolean type. Type 'boolean' is not assignable to type 'Sche
I am trying to setup mongodump along with TLS/SSL encryption. I have been following various articles for this: Self-signed SSL connection using PyMongo, https:/
I am facing an issue where Im trying to post data to my mongoDB from the frontend using React Hooks on React Native. The problem is that Im struggling to get th