postgres.js will often take multiple round trips for a query. For your use case I'd try switching t

postgres.js will often take multiple round trips for a query. For your use case I'd try switching to node-postgres, it should do each of your queries in a single round trip.
Was this page helpful?