首页 > 解决方案 > beginTransaction using async await node js 8

问题描述

I am very new to node js. Recently I have developed a node js application which connects to mysql and does all the crud operation. All this i have done using the async await feature of node 8. Now i am having hard time to implement transaction feature using async await. I want to use the async await feature to perform the beginTransaction commit and rollback wirh completely avoiding callbacks. Is this even possible? Request any help if possible. Thanks

标签: mysqlnode.jsasync-await

解决方案


推荐阅读