Hi I'm trying to mimick the example from the documentation (employee/ manager/engineer)
I've been able to add employees, and engineers, and all works as expected now my next step would be, creating an 'Employee' object, and some time later, decide that he's in fact an engineer. so my first attempt would read something like person = session.query(Employee).filter(..) -> retrieve the instance person.type='engineer' session.commit() and I would have expected at that point, when retrieving again person = session.query(Engineer).filter(..) to now have an instance of Engineer but that's not what I am seeing, I still get an instance of Employee I haven't found this issue addressed in the doc, sorry if I missed it What should be the right way to achieve this ? Am I missing something obvious here ? Many thanks in advance --- I can provide a complete working code of course, I just would like to make a sanity check before I go through the trouble of extracting the relevant part -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. 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.
