Posts by Otniel Silva • 13 points
2 posts
-
0
votes1
answer26
viewsQ: How do I perform more than one database query on a single request . GET on the same route on NODE.JS?
I am creating an API for a personal project, and I need to make 2 queries to the database in the same GET request. My code looks like this: module.exports = { async listarAnual(req, res, next){…
-
-1
votes1
answer229
viewsQ: Use more than one function in the Get Method route with Node.js
Good evening, I’m starting to learn about Ode and React.js and I’m having a problem because I need to use more than one function on the same route and by get method. I did the code below, it’s…