[HN Gopher] Slonik: A PostgreSQL client with strict types, detai...
       ___________________________________________________________________
        
       Slonik: A PostgreSQL client with strict types, detailed logging,
       and assertions
        
       Author : shawndellysse
       Score  : 13 points
       Date   : 2021-03-10 20:12 UTC (2 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | hermanradtke wrote:
       | Great to see this package here. We have been using slonik for
       | over a year now with few regrets. I am not a fan of query
       | builders. Query builders work for simple inserts or updates. For
       | really complex queries, nothing beats writing SQL inside of the
       | sql template tag.
       | 
       | Another nice thing about slonik is that it is built on top of
       | https://github.com/brianc/node-postgres. One gets all the benefit
       | of node-pg with the nicer dev experience of slonik.
        
       | janpot wrote:
       | Last few years I've been using a similar workflow with something
       | like https://www.npmjs.com/package/pg-template-tag in combination
       | with `pg`. I'm never going back to ORMs and query builders.
        
       ___________________________________________________________________
       (page generated 2021-03-10 23:01 UTC)