I want a single object from the collection that counts and calculates average. The collection looks like this: [{ "_id" : ObjectId("617822b1d128026ff4c76a76
I tried to connect a remote MongoDB Server running on Ubuntu using MongoDB Compass on Windows. But I have problems connecting always as the IP of the Windows ma
Here is my very basic product schema: const productSchema = new Schema({ productName: { type: String, required: true, }, productDescription: {
So I want to display MongoDB data in HTML so I used the EJS template but this is the error it is showing . I can't seem to figure out where the problem is, IS i
Before to submit the doubt that I have, let me start from preamble that I'm definitively a newbie on MongoDB world ;( but I'm going to learn quickly! The goal t
Can anyone tell me where I am going wrong. All I am trying to do is name a Mongo database using docker compose. I have a docker compose file that looks like thi
I have a list of strings filterList = ['x0', 'x1', 'x2'] My object is as follows: class Item: Object { @Persisted var name: String? } I want to get all obj
Im learning mongoose and i have a question how to save several documents: // Product.js const categorySchema = mongoose.Schema( { name: String }, { collecti
I'm quite new to using Mongoose and therefore not too familiar with operations that go beyond finding data in a single collection. Was googling approaches to ac
I have a technical difficulty, I am trying to enable 'STRICT' mutual TLS. I have a stateless service (name: "my-service" / ServiceAccount / Service / Deployment
I already have a wordpress website. I studied web development using js, node.js, express and mongodb and build some projects. I would like to add it to my websi
server: const { ApolloServer, gql } = require("apollo-server-express"); const express = require("express"); const mongoose = require("mongoose"); const { userRe
const score_schema = mongoose.Schema( { tester_id: { type: mongoose.Schema.Types.ObjectId, ref: "user", required: true, }, test_
[nodemon] starting `node app.js` Server started on port 3000 node:events:505 throw er; // Unhandled 'error' event ^ TypeError: Cannot read properti
I am creating a e-commerce app and now I want to update and delete a review of a product using nodejs and database is mongoDB (using mongoose). This is my User
I'm working on Talend open studio for Big Data and connected to a MongoDB Database , however i can't extract complex subfields objects from my collections, some
I have a mongodb collection that looks like this: { "_id" : ObjectId("60471bd482c0da3c0e70d26f"), "owner" : "John", "propAvailable" : { "
I have CosmosDB MongoDB-API instance. Mongo server version = 4.0.0 Inserted documents look like: { "_id": "111", "fileName": "some.txt", "type": "
I have an application with thousands of tests through MockMvc. The tests are running in band, so 1 at a time and whole process takes hours. I decided to try par
So I'm running a Node.js server with mongoose and I've been trying to download a large file using the GridFS node package but I've been getting the following er