lpsmith / postgresql-simple

Mid-level client library for accessing PostgreSQL from Haskell
Other
206 stars 71 forks source link

Support inserting into variable number of subset of fields (probably using VALUES) #281

Closed robinp closed 1 year ago

robinp commented 1 year ago

Hello,

It would be nice to support something like

execute conn "INSERT INTO tbl (?) VALUES (?)" (ColNames [Identifier "a", ...], Values ...)

AFAIU the ColNames bit which I made up is missing, while there's already a Values wrapper. No idea though.

cimmanon commented 1 year ago

This package was handed off to another maintainer. Try https://github.com/haskellari/postgresql-simple/

robinp commented 1 year ago

Thanks, and sorry for the mistake! Would be nice to archive the repo and/or show the link in the README file, so people are more aware.

robinp commented 1 year ago

Closing