Posts by Deividdy Nogueira • 24 points
3 posts
-
-1
votes4
answers882
viewsA: Update the data in the database without changing the others that already exist - PDO
Your doubt and something common in the world of API’s, I’ll tell you how else I won’t make the code (this is on you)! Search all the information in the database, and update the information that was…
-
1
votes1
answer1167
viewsA: Filter with Node.JS
Why don’t you let the mongodb do it for you, search the mongodb using his querry... ex: model.find({idade:req.query.idade}).then((result) => { res.json(result) }, (err) => {…
-
0
votes1
answer231
viewsA: Mongodb - Filtering returns
I believe you are using Mongoose, to make the nodejs communicate with mongodb, for this all the queries you make in the database, the first parameter you pass is the json query, and the second is…