Update differnt fields in different Documents in Mongodb using Nodejs/Express

Job Description:

in the database we have following document called "Product"



_id: new ObjectId("638513a4ab6217c642c0cdc7"),

name: 'car',

quantity: 30,



_id: new ObjectId("6385142fab6217c642c0cdcc"),

name: 'door',

quantity: 5,




incrementArray = [ 2 , 3]

>>> I need to increase the quantity of the "window" and the "door" dynamically by using the incrementArray , Please find below my code where you can introduce your solution when we call the router at "/".


var express = require('express');

var router = [login to view URL]();

var Product = require('../models/product');

[login to view URL]('/', function(req, res, next) {

const IDs = ["638513a4ab6217c642c0cdc7","638513a4ab6217c642c0cdc7"]

const incrementArray = [ 2 , 3]

// Example to query in Database

// [login to view URL]({})....

return [login to view URL]('index');


Kemahiran: Node.js, MongoDB

Tentang Klien:
( 1 ulasan ) Kuwait, Kuwait

ID Projek: #35362040

18 pekerja bebas membida secara purata $20 untuk pekerjaan ini


Hi, How are you today? Thank you for posting this project, and I'm very happy to bid your project. I've read carefully your project details. I have rich experiences related with your project. Your satisfaction with th Lagi

$10 USD dalam 7 hari
(5 Ulasan)

Hi, how are you ! I am an experianced programmer, can I help you with this project. I will do this less than a day. I will wait your positive answer ! Thanks for reading me !

$10 USD dalam sehari
(0 Ulasan)

Hello, I can start work now, I have already done according to this script so I will share soon, I am a web developer having more than 6+ years of experience in database management like SQL, PostgreSQL, Couch-base, and Lagi

$15 USD dalam sehari
(0 Ulasan)

Greetings! I saw your recent post regarding full-stack development services. I'd like to let you know that I'm the perfect match you've been looking for. I'm an experienced full-stack developer with practical design an Lagi

$30 USD dalam 7 hari
(0 Ulasan)

Greetings, I am a highly experienced MERN stack developer. I have read your requirement. I can do your job. Please send me message if you are interested. Thanks

$25 USD dalam 7 hari
(0 Ulasan)

Hi, I am a Full Stack Developer. I work with nodejs. I can complete the task as soon as possible. Feel free to contact me anytime.

$20 USD dalam 3 hari
(0 Ulasan)

hello. I am a javascript developer and I use express for web servers all the time, so I believe I can help you with your problem

$15 USD dalam 2 hari
(0 Ulasan)

Hi Mr Abdulrahman! I read your post thoroughly and I have to say that I will satisfy you. I am a regular consumer for this type of issue and I can do this job right now for you. I am very proficient with Node.js and Lagi

$15 USD dalam 7 hari
(0 Ulasan)