Re: [sqlalchemy] table inheritance: how to change a record from base type to derived type?

2013-12-11 Thread Iain Duncan
On Tue, Dec 10, 2013 at 3:54 PM, Michael Bayer mike...@zzzcomputing.comwrote: On Dec 10, 2013, at 5:04 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hi, I'm stuck on how to do something that I'm sure must be possible. I have two kinds of records, using table inheritance, Client, and

Re: [sqlalchemy] table inheritance: how to change a record from base type to derived type?

2013-12-11 Thread Michael Bayer
On Dec 11, 2013, at 12:45 PM, Iain Duncan iainduncanli...@gmail.com wrote: On Tue, Dec 10, 2013 at 3:54 PM, Michael Bayer mike...@zzzcomputing.com wrote: On Dec 10, 2013, at 5:04 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hi, I'm stuck on how to do something that I'm sure must be

[sqlalchemy] table inheritance: how to change a record from base type to derived type?

2013-12-10 Thread Iain Duncan
Hi, I'm stuck on how to do something that I'm sure must be possible. I have two kinds of records, using table inheritance, Client, and SpecialClient. SpecialClient has extra fields and it's own polymorphic identity. I need to *promote* a and existing client record to a special client. I tried

Re: [sqlalchemy] table inheritance: how to change a record from base type to derived type?

2013-12-10 Thread Michael Bayer
On Dec 10, 2013, at 5:04 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hi, I'm stuck on how to do something that I'm sure must be possible. I have two kinds of records, using table inheritance, Client, and SpecialClient. SpecialClient has extra fields and it's own polymorphic