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 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, uralbash wrote: 
> > 
> > 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 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "sqlalchemy" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to sqlalchemy+...@googlegroups.com  
> > . 
> > To post to this group, send email to sqlal...@googlegroups.com 
>  
> > . 
> > Visit this group at https://groups.google.com/group/sqlalchemy. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


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, uralbash wrote:


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

--
You received this message because you are subscribed to the Google
Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sqlalchemy+unsubscr...@googlegroups.com
.
To post to this group, send email to sqlalchemy@googlegroups.com
.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


[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

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.