Re: [sqlalchemy] Joining against a subquery and polymorphic contains_eager population

2011-06-03 Thread Michael Bayer
On May 30, 2011, at 12:54 PM, Jesse Cohen wrote: > This is my first post here, I've been learning about the query api and I've > got three related questions: > > 1. Suppose I have a User model and UserThing which is loaded into the > User.things collection, UserThing is polymorphic via joined

[sqlalchemy] Re: Joining against a subquery and polymorphic contains_eager population

2011-06-03 Thread Jesse Cohen
Hi, Could anyone help point me in the right direction here? Any help would be much appreciated! Thanks, Jesse On May 30, 12:54 pm, Jesse Cohen wrote: > This is my first post here, I've been learning about the query api and I've > got three related questions: > > 1. Suppose I have a User model a

Re: [sqlalchemy] Re: can I use SA to dump a table's DDL to a file?

2011-06-03 Thread Randy Syring
If anyone is interested, I have some code that writes basic details for tables, constraints, indexes, and triggers out to files. Code is here: https://bitbucket.org/rsyring/mssqlddlwriter/ -- Randy Syring Intelicom Direct: 502-276-0459 Office: 502-212-9913