Re: [sqlalchemy] Custom Compilation

2020-03-19 Thread sumau
Thanks Mike that worked perfectly :-) -- 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. --- Y

Re: [sqlalchemy] Custom Compilation

2020-03-18 Thread Mike Bayer
On Wed, Mar 18, 2020, at 1:23 PM, Soumaya Mauthoor wrote: > Hello > > I have two uses cases: > > (1) drop cascade as option > I know I can use custom compilation to add cascade for postgres databases > using this example: > https://stackoverflow.com/questions/38678336/sqlalchemy-how-to-impleme

[sqlalchemy] Custom Compilation

2020-03-18 Thread Soumaya Mauthoor
Hello I have two uses cases: (1) drop cascade as option I know I can use custom compilation to add cascade for postgres databases using this example: https://stackoverflow.com/questions/38678336/sqlalchemy-how-to-implement-drop-table-cascade Is it possible to use custom compilation to add cascade