Hi, how are you?
I want to find data in the database and put it in json form.
Json's response is executed before data is found and contained, so where should I use wait to find data and then respond?
It's too difficult because of the map function in the middle
Originally, I used it right away without making it as a function, but I made it separately because I heard that wait is used in front of the function. Help me.
After the response, the data is found well. How do I transform it?node.js
© 2022 pinfo. All rights reserved.