How 2 use Async Await on multiple queries and query under .map() function in NodeJS and MySQL
NOTE:: First we will execute the first query using the Async and await and than get 5 Ids from the first query and than using the first query array we will use the .map() function and pass the Id one by one into the inner query using async and await and create the object for every loop and save these object onto and array.
Please give me some code for this functionality.