rom-sql
rom-sql copied to clipboard
Support for native upserts in MySQL/MariaDB
It would be really great to have an upsert command that uses native features of MySQL/MariaDB. Sequel implements this with #on_duplicate_key_update.
Something like what PostgreSQL got with #65 & #66.
Marking this as help-wanted because PG is our main focus. I will definitely not have time to work on it, unless I happen to start using MySQL again and need upserts too :)
@solnic Fair point, I will take a look as soon as I find a bit of time.