Hi,

I am trying to generate sql scripts in offline mode. But when executing the 
delete in the following manner:

op.execute(
        foo.delete().where(foo.c.key == 'bar')
)


generates sql as 

DELETE FROM foo WHERE foo.`key` = %s;



How can i get the actual value 'bar' instead of %s? Is there a better way 
to do this ? If I use raw sql statements I can get around the problem 
although I am trying my best to not execute raw sql statements in there. 


Please advise!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy-alembic+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to