korma / Korma

Tasty SQL for Clojure.
http://sqlkorma.com
1.48k stars 222 forks source link

Modifiers support with INSERT #267

Closed alolis closed 9 years ago

alolis commented 9 years ago

Just wanted to make a suggestion here. It would be nice if insert statements supported modifiers just like select.

For example it is impossible at the moment to do an INSERT IGNORE INTO query; you can only do it with exec-raw.

immoh commented 9 years ago

Are there any other RDBMSs supporting modifiers for INSERT besides MySQL?

alolis commented 9 years ago

Hm, I am not sure actually since I am mostly experienced with MySQL. I understand your point though.