Has support for MySQL INSERT... ON DUPLICATE KEY UPDATE been integrated
into sqlalchemy more recently?
Thanks,
Vitaly
--
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
On 8/7/15 5:25 PM, vitaly numenta wrote:
Has support for MySQL INSERT... ON DUPLICATE KEY UPDATE been
integrated into sqlalchemy more recently?
no.
Thanks,
Vitaly
--
You received this message because you are subscribed to the Google
Groups sqlalchemy group.
To unsubscribe from this
assuming this is the same thing asked on reddit:
http://www.reddit.com/r/Python/comments/p5grh/sqlalchemy_whats_the_idiomatic_way_of_writing/
I mentioned ticket #960 as where we'd someday support MERGE and its variants,
but this can also be rolled with @compiles, see the example in that ticket.
Correct, the same guy.
Thank you for the pointer! Today I learned about the compiles decorator.
- Didip -
On Feb 1, 2012, at 10:56 AM, Michael Bayer wrote:
assuming this is the same thing asked on reddit:
when using SqlAlchemy Core (not using Session/ORM)?
I have quite a few tables with composite primary keys that can use it
for optimization.
At the moment what I have is quite ghetto, below is a contrive example
of it:
stmt = str(user_table.insert().values(email=email, name=name))
stmt