Re: [Zope3-Users] ZODB and unique values

2009-08-06 Thread Gustavo Rahal
Em Ter, 2009-08-04 às 06:28 -0400, Jim Fulton escreveu: On Mon, Aug 3, 2009 at 9:09 PM, Gary Postergary.pos...@gmail.com wrote: On Aug 3, 2009, at 3:00 PM, Gustavo Rahal wrote: ... Practically, using the BTrees that the ZODB provides will typically have the behavior you want for the

[Zope3-Users] ZODB and unique values

2009-08-03 Thread Gustavo Rahal
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

Re: [Zope3-Users] ZODB and unique values

2009-08-03 Thread Gary Poster
On Aug 3, 2009, at 3:00 PM, Gustavo Rahal wrote: 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