Posts by Alessandro Oliveira Mendes • 21 points
2 posts
-
2
votes0
answers23
viewsQ: How to update a subdocument in a mongoDB document with Findoneandupdateasync
I’m trying to add a subdocument to a mongoDb document, but even looking at the previous posts I couldn’t find a solution. My classes public class UserClass { [BsonId]…
-
-2
votes1
answer49
viewsQ: How to separate the logic of the interface in queries with mongodb and nodejs
I’m studying Mongodb and Nodejs, I’m starting . I downloaded an example code from git and started to customize. The original query code was like this: router.get('/products/:page', (req, res, next)…