[sqlalchemy] Get 'full' child when querying inherited tables

2012-05-24 Thread pr64
Hi, For some reason, I need to access my sqlite database through an API which encapsulates the sqlalchemy stuff. In my api methods, the typical sequence is: 1. get a session from the session maker 2. query/commit the db using this session 3. return the queried/commited object and close

Re: [sqlalchemy] Get 'full' child when querying inherited tables

2012-05-24 Thread Michael Bayer
On May 24, 2012, at 10:02 AM, pr64 wrote: Hi, For some reason, I need to access my sqlite database through an API which encapsulates the sqlalchemy stuff. In my api methods, the typical sequence is: get a session from the session maker query/commit the db using this session return the

Re: [sqlalchemy] Get 'full' child when querying inherited tables

2012-05-24 Thread pr64
Worked perfectly. Thanks a lot for your quick answer and so great software. Le jeudi 24 mai 2012 16:45:50 UTC+2, Michael Bayer a écrit : On May 24, 2012, at 10:02 AM, pr64 wrote: Hi, For some reason, I need to access my sqlite database through an API which encapsulates the sqlalchemy