[Zope3-Users] ZODB and unique values

Gustavo Rahal grahal at linux.vnet.ibm.com
Mon Aug 3 15:00:14 EDT 2009


So, i'm reading zope3 web component architecture book (quite cool by the
way) and since i'm too SQL DB oriented I was wondering how to garantee
fields uniqueness in ZODB.
For instance, if I have a IMachine interface, I want the ip_address
field to be unique across all machine objects.
Is that something I have to tie in the validation routine of ip_address?
Other options?


Thanks


-- 
Gustavo Matheus Rahal
IBM Linux Technology Center




More information about the Zope3-users mailing list