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
I am trying to update documents values, if they already exist in a collection, if they have the same value for a specific object key. For example, I have the fo
Okay, the title is a bit too verbose and complicated but I have no idea how to put it any better. So here's what I have ModelA ModelB that has reference to Mode
how to find the data into arrays of arrays. I want to find data that is stored in the array. When we got the data and send response with parent id. here schema
I am using ubuntu16.04 on VPS. It has been migrated to another company's VPS and is in use. nginix works fine and my node application works fine. When the mongo
If I have a survey application for child tracking what is the best way to save survey questions in MongoDB? Knowing that survey is divided into stages (about 12
I have the following error TypeError: C:\Users\USER PC\Documents\Prime_News_Hub\views\Top_Stories.ejs:27 25| 26| <% if(file){ %>