Forums / Developer / Checking for unique attribute data in objects / Comment39410
Joel Hardi
Monday 03 May 2004 8:57:40 pm
Thanks Emil ... it would have taken me a while to come up with that query.
For what it's worth, I second Eirik's vote for a "unique" or "allow duplicates" checkbox for datatypes when creating new content classes. Or alternately, some kind of ->is_unique() method that could be called from children of eZDateType when creating new datatypes.