Closed ohld closed 5 years ago
I'm keen to have support for it, especially if it supports multiple backends (postgres, sqlite, ...). Wanna make a PR?
Sorry mate, I'm just asking for an enhancement. I've already figured out another way to do what I need to do. But anyway, this will be really helpful
I have a upsert_many helper function which just calls Table.upsert
in a loop within a transaction block. Happy to make a PR with this, but maybe there is better way with sqlalchemy ?
I just found your library and it's amazing! But I can't find method for UPSERT MANY sql-query.
For example, in
sqlite3
library I often use this calls:Can you please implement this method or give me the way how can I make it with already existing ones? Thanks!