dataList.map(async (v) => {
try {
const result = await transaction.query('Query.....');
} catch(e) {
console.log(e);
}
})
await Promise.all()
로 감싸주어야 한다.await Promise.all(
dataList.map(async (v) => {
try {
const result = await transaction.query('Query.....');
} catch(e) {
console.log(e);
}
})
);