marijnh / Postmodern

A Common Lisp PostgreSQL programming interface
http://marijnhaverbeke.nl/postmodern
Other
400 stars 90 forks source link

Add more upsert capability to s-sql operators #262

Closed sabracrolleton closed 3 years ago

sabracrolleton commented 3 years ago

s-sql operators :insert-into and :insert-rows-into get added capabilities

Previously :insert-into (but not :insert-rows-into) had some limited capability for dealing with duplicates when inserting new data. Specifically, both can now use all the possibilities provided by Postgresql up to version 13:

See updated s-sql docs for examples. See also extensive examples in the file s-sql/tests/tests.lisp