i can connect locally to my mongodb server with the address 0.0.0.0/0. However, when I deploy my code to the cloud I get the error deploy to google cloud functi
my old application was on cakephp2.5 , php 5.6 mongodb ichikaway/cakephp-mongodb, i have updated it to cakephp2.10 and php7.4 but this plugin is not working as
I've a reactive API which receives the following String (image below). I want to process these ID's and perform a search query to my MongoDB and return a Flux w
How can I login email or phone or username with password in node js and mongodb? user can login with email and password, username and password, phone and passwo
The documents are of the type { "id": 1, "sig1": "12345", "sig2": "67890", }, { "id": 2, "sig1": "67890", "sig2": "ABCDE", }, I would like to
connectde with datadase (mongodatabase) and chik if email == new email! and used bcrypt to do securty password. exports.createNewUser = (username, email, passwo
Would anyone know how to fix this I can't find any method that works online. My mongodb does work local but not on host. I'm using laravel with the following:
I am trying to connect MongoDB from Atlas. My mongo uri is: mongodb+srv://abc:[email protected]/admin?retryWrites=True My pymongo version is 3.6.1 I h
Mail Schema: var mail = new mongoose.Schema({ globalId: {type: String, index: true, unique: true}, from: {type: String, required: true}, beginDate:
I am trying to rename a collection in MongoDB. I accidently wrote db.currentName.renameCollection() but I should have wrote db.currentName.renameCollection(newN
In the MongoDB collection I'm querying, each document represents some data for a parcel at a specific time. Every time I receive an update for a parcel, some fi
I know this question has been answered before but I can't seem to implement the changes into what im working with. I'm trying to create a daily command that rew
I am working on a project and it currently goes through each document to edit the field and lags a lot. { "Name" : "Susie" , "This Semester" : 10 , "Last Semest
I have two collections, Group and GroupChat. A group has a chatroom respectively. // group.model { name: string, desc: string } // group.chat.model { group:
I found this on the documentation for mongoose: Subdocuments have save and validate middleware just like top-level documents. Calling save() on the parent docu
I want to use this mongoDB collection: [ { "_id": { "$oid": "627c4eb87e7c2b8ba510ac4c" }, "Contact": [ { "name": "ABC",
I have two MongoDB collections in a database named "records". Here's a sample document from the first collection: course_completions { "_id" : NumberInt(1
How do I delete object from inner schema in mongoose? I try to delete comments from the Holiday Schema, this is the holiday schema: const holidaySchema = new mo
I have the following setup in Visual Studio Code for nodejs project: Model: genre.js const Joi = require('joi'); const mongoose = require('mongoose'); const
I have installed mongo db. Then when i tried to execute .mongo or mongo in command prompt. It's showing this error: .mongo' is not recognized as an internal