On Saturday, April 27, 2019 at 11:43:33 PM UTC-4, Mike Orr wrote:
> 'session.execute()' executes SQL like 'engine.execute()' does, so you > can get the advantages of a request transaction without using ORM > queries. > in addition to Mike's comments - make sure to read the zope.sqlalchemy docs on `mark_changed` or starting the session on a 'changed' state https://pypi.org/project/zope.sqlalchemy/ if you don't do that, sqlalchemy won't know you did something and will rollback instead of commit. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/6015d75c-f277-42cb-880c-9d30632fdcb5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.