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 as an optional
keyword argument to drop()?

(2) overwriting func functions
Is it possible to overwrite func.greatest to return func.max for SQLite?

I'm trying to learn more about custom compilation in general. This page is
very helpful:
http://docs.sqlalchemy.org/en/latest/core/compiler.html

Are there other resources you recommend?

Soumaya

-- 
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/CAN14jWQGC%2BzfNAEfFCiRHmTbCsXq2NrWGPoE0qpNhcTWx55-iw%40mail.gmail.com.

Reply via email to