Martin B?hr wrote:
On Fri, Aug 22, 2008 at 01:05:32PM +0200, Stephen R. van den Berg wrote:
Well, in light of learning that mappings cannot contain UNDEFINEDs, I propose to introduce the following SqlNULL() type which should be returned by any mappingvalues from Sql.Sql()->query() which are actually an SQL NULL type.
Any thoughts? If there are no objections I'd like to get it into 7.8.
introduction of a real NULL type has had a lot of discussion without any solution (did you miss that? :-)
I vaguely recall that, yes, but I'm not trying to solve the generic case, just the SQL-case.
and while i welcome this change i think it should get a lot of testing to make sure no code is negatively affected.
Obviously. Then again the proposed definition has some special properties which make it almost transparent in a lot of existing code.