[sqlalchemy] Re: Mapping existing structure of a database

2007-06-06 Thread Paul Johnston
Hi, What kind of overhead is associated with using the autoload flag? Quite high, although not a problem if a long running app only does it at startup. Is there a way to dump the structure of a database to a file and import this as a kind of module? There is, although it's very basic

[sqlalchemy] Re: Mapping existing structure of a database

2007-06-06 Thread Paul Johnston
Hi, What kind of overhead is associated with using the autoload flag? Quite high, although not a problem if a long running app only does it at startup. Is there a way to dump the structure of a database to a file and import this as a kind of module? There is, although it's very basic

[sqlalchemy] Re: Mapping existing structure of a database

2007-06-04 Thread Michael Bayer
On Jun 4, 2007, at 2:31 PM, nathan harmston wrote: Hi, I m currently playing with using sqlalchemy to map a pre-existing database to objects. I ve had a quick look through the docs and not being able to find anything about this. Does SQLAlchemy support introspection (if thats the right

[sqlalchemy] Re: Mapping existing structure of a database

2007-06-04 Thread nathan harmston
What kind of overhead is associated with using the autoload flag? What kind of overhead would be associated with this over a network? (with a remote database). Is there a way to dump the structure of a database to a file and import this as a kind of module? Thanks Nathan

[sqlalchemy] Re: Mapping existing structure of a database

2007-06-04 Thread Arnar Birgisson
On 6/4/07, nathan harmston [EMAIL PROTECTED] wrote: What kind of overhead is associated with using the autoload flag? What kind of overhead would be associated with this over a network? (with a remote database). Is there a way to dump the structure of a database to a file and import this as

[sqlalchemy] Re: Mapping existing structure of a database

2007-06-04 Thread Huy Do
Michael Bayer wrote: On Jun 4, 2007, at 6:47 PM, nathan harmston wrote: What kind of overhead is associated with using the autoload flag? What kind of overhead would be associated with this over a network? (with a remote database). Is there a way to dump the structure of a database