My preferred way to use node-postgres (and all async code in node.js) is with async/await . ... query: (text, params) => pool.query(text, params),.
確定! 回上一頁