把node-mysql改成async/await. 原本node-mysql的最佳實踐是用創造一個連線池( pool ),把connection的生命週期交給 pool 去管理/回收,標準用法如下
確定! 回上一頁