> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Michael Bayer > Sent: 30 January 2009 17:25 > To: [email protected] > Subject: [sqlalchemy] Re: polymorphic_identity not allowed to > be zero for base class? > > > > On Jan 30, 2009, at 12:19 PM, King Simon-NFHD78 wrote: > > > > > Would None (ie. SQL NULL) be a valid polymorphic identity? > > it becomes that issue where we just need some kind of constant to > represent THIS_IS_NOT_DEFINED, so that we know when > polymorphic_identity is defined or not. it's a straightforward > patch. Although we'd also need to adapt some expressions such as > identity IN (x, y, z) to account for NULL, so, supporting NULL is a > little more work. > >
Thanks - I was only asking out of curiosity. I have no need for it personally. Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
