Hello,In order to use the PostgreSQL LOCK with SQLAlchemy, is there a better way thansession.execute(sa.text(f"LOCK TABLE {Foo.__tablename__} IN SHARE MODE"))
Also, do I need to flush() to push the LOCK to the db?
Much thanks!Jens
--SQLAlchemy -The Python SQL Toolkit and Object Relational MapperTo post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.---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 view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/0cfe4a51-f013-4299-a584-9ddb643bc906n%40googlegroups.com.