[Developers] South Carolina weirdness

John Giannandrea jg at metaweb.com
Thu Jun 5 07:24:13 UTC 2008


Nicholas Paldino [.NET/C# MVP] wrote:
> 	That is a little hokey, IMO.  Why doesn't the operation fail when
> trying to set the property to unique if you have more than one of it?

It will, if you try to write multiple values to a unique property.

The problem comes if you make a non unique property, load multiple  
values, and then change the schema to be unique.

There is a MQL envelope parameter called 'uniqueness_failure':'soft'  
which was invented to address avh's concern.
if it runs across non unique data it will return only the first  
element and log a warning on our side.

-jg



More information about the Developers mailing list