Skip to content

Async Project Structure Doc #1311

Open
Open

Description

@wrod7

Hi,

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

  1. brianc commented on Jun 8, 2017

    @brianc
    Owner

    Thanks for your feedback! I'll update the docs tonight.

  2. added this to the docs milestone on Jun 8, 2017
  3. benbonnet commented on Mar 17, 2018

    @benbonnet

    wow, year later; also stuck on that one, promise does not resolve

  4. bemorr commented on Mar 23, 2020

    @bemorr

    bumping this request. The callback implementation starting to feel quite dated now.
    Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions