Re: [sqlalchemy] Firebird is no way to implement UPDATE OR INSERT

2016-06-28 Thread uralbash
Thanks, In general, API for creation of custom ClauseElements and compilers will solve my problem понедельник, 27 июня 2016 г., 19:12:05 UTC+5 пользователь Mike Bayer написал: > > not currently, and we don't actually spend much time working on the > Firebird dialect (would love if someone

Re: [sqlalchemy] Firebird is no way to implement UPDATE OR INSERT

2016-06-27 Thread Mike Bayer
not currently, and we don't actually spend much time working on the Firebird dialect (would love if someone could come take it over). Your best bet would be working with custom compilation rules described in http://docs.sqlalchemy.org/en/latest/core/compiler.html . On 06/27/2016 07:47 AM,

[sqlalchemy] Firebird is no way to implement UPDATE OR INSERT

2016-06-27 Thread uralbash
Is there a way to construct a query "UPDATE OR INSERT" for firebird like Postgres "INSERT...ON CONFLICT (Upsert)" (http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#insert-on-conflict-upsert)? Firebird docs http://www.firebirdsql.org/refdocs/langrefupd25-update-or-insert.html --