Hi, Is there a better way how to do it? Or i just miss something in the docs? var = a delete_stmt = delete(A).where(A.b_id==B.id, B.name==var) stmt = text(str(delete_stmt.compile(dialect=postgresql.dialect(), compile_kwargs={"literal_binds": True}))) db.execute(stmt)
Thanks -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/3a1ad85f-2aca-499f-98d3-e8bf90436ec6n%40googlegroups.com.