On Friday 03 June 2016 04:44 AM, Jonathan Vanasco wrote:
as the docs state, `engine.execute(foo)` is shorthand for "connection = engine.connect()" + "connection.execute(foo)". you can verify this in the source.
So it will have no performance difference is it?
for what you describe, it's usually best to grab an explicit connection and re-use it.
If both do same thing then how and why will explicit connection help me better?
Happy hacking. Krishnakant. -- 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.