On Oct 30, 7:18 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> we dont parse DDL but instead only read Table objects from the  
> database directly, using reflection via the "autoload=True" flag.  If  
> you had a DDL file, you could load this into a database to be  
> reflected, else if you already have a live database, you can reflect  
> straight from that.
>
> docs are here:
>
> http://www.sqlalchemy.org/docs/05/metadata.html#metadata_tables_refle...
>
> but also, this seems to be missing from the docs there, metadata can  
> reflect the entire database using:
>
> metadata.reflect(bind=someengine)

Does the reflection of UNIQUE constraints work?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to