> -----Original Message----- > From: sqlalchemy@googlegroups.com > [mailto:sqlalch...@googlegroups.com] On Behalf Of Michael Bayer > Sent: 30 January 2009 17:25 > To: sqlalchemy@googlegroups.com > 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 sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---