I'm trying to fetch an array of objects from MongoDB, using mongoose and SSP. One hitch is that all ObjectIds must be converted into strings. Currently I'm doin
I'm trying to upgrade Mongoid in an Rails 4.2 app from 4.x to 5.x (5.4.1) to connect to a MongoDB 2.6. I've updated the mongoid.yml file to match the difference
I am trying to update a value in the UI. When I click to update, I have a button that will decrease by one In the database and be displayed in the UI's quantity
Is there an elegant, easy and fast way to move data out of HBase into MongoDB? I want to migrate HBase to mongoDB. I am new to mongoDB. Could someone please hel
I have created a new Mongo collection to a new project, but when I try to create a new user, I get the following error: MongoError: E11000 duplicate key error c
I'm very new to Docker and I'm confused about how to backup the mongodb database. I'm using 2 containers, both connected through a network. the express app cont
I am doing my first Ecommerce MERN stack project but i donot know how to make search component that will take the search input and return array of matching prod
I have a document with format like this: { "f1": "v1", "f2": { "id": 1, "sub": "subv", "updatedAt": 123 } } I have an another source that
I created a MongoDB watcher to create actions based on the created document. Of course, the watcher does not detect documents that are created while the service
Does WebFlux Spring Boot @Transactional annotation work with reactive MongoDB? I use WebFlux Spring Boot with reactive MongoDB like: id 'org.springframework
I have an array of objects and would like to update the count of the object where categoryId = "menu2" and subCategoryId = "1". in my mongodb i currently have t
I'm building a web app using MERN stack. I want to sum 2 numbers then save it mongodb database. Here current num is from database and other is from input field
I have an array of objects and would like to update the count of the object where categoryId = "menu2" and subCategoryId = "1". in my mongodb i currently have t
How to convert a SQL query to mongodb query? Please write a mongodb query - this is my query in SQL: UPDATE user SET expireIn = DATEADD(DAY, 2, expireIn) WHE
I need to use a database (mysql/mongodb) instead of files to store the user's wallet identity into hyperledger-fabric.
I use the attribute pattern approach in my collection: [ { _id: "id1", _cells: [ { k: "key1", v: "value1" }, { k: "key2", v: "value2" },
We are working on a project to get data from mongoDB. We have created repository class as below @Repository public interface CustomerRepository extends MongoRep
@app.route('/signup', methods=['POST']) def signup(): info = request.args if info["password"] == info["password2"] and info["name"] and info["email"] an
Getting this error when trying to call the method validate_create_action. The error occurs on the line @element = klass.new(params[:element]
Let's say that there is a column called colours and it can have values red, blue, and green. I want to retrieve all rows except the ones where the colour is gre