Re: [sqlalchemy] get(..)-query in single-table inheritance

2010-03-08 Thread Michael Bayer
Martin Stein wrote: > Hi all, > > Before I post a bug ticket I'll post the question here. In sqlalchemy > 0.58, I use single-table inheritance and a get-query (by primary key). > The get() queries for an Engineer with id 1, which does not exist > (since the row with id 1 represents a Manager). The

[sqlalchemy] get(..)-query in single-table inheritance

2010-03-08 Thread Martin Stein
Hi all, Before I post a bug ticket I'll post the question here. In sqlalchemy 0.58, I use single-table inheritance and a get-query (by primary key). The get() queries for an Engineer with id 1, which does not exist (since the row with id 1 represents a Manager). The query result seems inconsistent