[sqlalchemy] Re: Polymorphic from multiple columns

2007-12-03 Thread Michael Bayer
you cant do it right now. but its something we could support. its unclear to me if we should just go for composite types as the way to do it, or just use a callable. using a composite is likely cleaner and would integrate with the save process better (otherwise, the callable needs to

[sqlalchemy] Re: Polymorphic from multiple columns

2007-12-03 Thread sdobrev
is that something looking like real concrete-polymorphism? AFAIremember there was something composite there in the pattern.. the id is actualy (id,type) Michael Bayer wrote: you cant do it right now. but its something we could support. its unclear to me if we should just go for composite