title: How can I find the last insert ID with Node.js and Postgresql?
body: <p>When issuing an "insert" statement to postgres, how can I get the ID of the row last inserted in the DB?</p>
  
  <p>I tried "pg", "pg-native", "pg-connection", and a bunch of other packages. For each package, I tried the <code>sync</code> and <code>async</code> method. I read the thing that pretends to be package documentation. I checked the source code for the packages. For the life of me I can't figure this out, and I can't believe that I'm the only person to face this issue.</p>
  
  <p>Any insight would be greatly appreciated.</p>