Hi All,

I'm looking to use:

http://www.sqlalchemy.org/trac/wiki/UsageRecipes/DropEverything

Sadly, the recipe uses hard-coded sql which doesn't work with MySQL.
I'd like to change it so that it's database-agnostic like the rest of SQLAlchemy.

My hunting has lead me to:

http://www.sqlalchemy.org/docs/reference/sqlalchemy/schema.html#sqlalchemy.schema.DropConstraint

...but I'm not sure how to plumb that in given that the recipe only provides a constraint name and table name, not the requisite objects.

Any pointers gratefully received!

Chris

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to