Re: [sqlalchemy] short drop_all question

2012-02-24 Thread Chris Withers

On 24/02/2012 12:40, lars van gemerden wrote:

can it be possible that drop_all does not empty the database of there
are circular references between tables?


You want:

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

...which is available here too:

http://packages.python.org/mortar_rdb/api.html#mortar_rdb.drop_tables

cheers,

Chris

PS:

I am using sqlite.


Why? ;-)

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@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.



[sqlalchemy] short drop_all question

2012-02-24 Thread lars van gemerden
can it be possible that drop_all does not empty the database of there
are circular references between tables?

I am using sqlite.

Cheers, Lars

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@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.