Re: [sqlalchemy] Bundles and selecting from polymorphic tables

2016-12-20 Thread Michael Williamson
Great, thanks! On Mon, 19 Dec 2016 12:43:26 -0500 mike bayer wrote: > thanks, this is > https://bitbucket.org/zzzeek/sqlalchemy/issues/3874/bundle-does-not-provide-entities-fails-on > > and the gerrit should merge today. > > > > On 12/19/2016 11:58 AM, Michael

Re: [sqlalchemy] Bundles and selecting from polymorphic tables

2016-12-19 Thread mike bayer
thanks, this is https://bitbucket.org/zzzeek/sqlalchemy/issues/3874/bundle-does-not-provide-entities-fails-on and the gerrit should merge today. On 12/19/2016 11:58 AM, Michael Williamson wrote: Hello! When selecting from a polymorphic table using a bundle, the query seems to drop the

[sqlalchemy] Bundles and selecting from polymorphic tables

2016-12-19 Thread Michael Williamson
Hello! When selecting from a polymorphic table using a bundle, the query seems to drop the condition on the discriminator. For instance, suppose we have an Employee class that has a name column, with subclasses Manager and Engineer. When I query for Manager.name, I get back the names of just the