You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the document page, I've found it very help. I am stuck on making "getClient" async/await. Anyway someone can show an example of final index.js file in the db folder from : https://node-postgres.com/guides/project-structure with the logging and route example written in async/await? in other words, update this example : https://node-postgres.com/guides/async-express with "getClient." Thanks in advance!
Activity
brianc commentedon Jun 8, 2017
Thanks for your feedback! I'll update the docs tonight.
benbonnet commentedon Mar 17, 2018
wow, year later; also stuck on that one, promise does not resolve
bemorr commentedon Mar 23, 2020
bumping this request. The callback implementation starting to feel quite dated now.
Thanks in advance.