[ZODB-Dev] I would like append an indexer with uuid key at root of my ZODB, how can I append an function to commit event to update this uuid catalog ?

Pedro Ferreira jose.pedro.ferreira at cern.ch
Tue Jun 28 06:04:40 EDT 2011


> It's the same doc that I send in my previous mail.

Oh sorry... anyway, why don't you store this UIID in the object itself?
Then you can just retrieve the UUIDs of any result set in O(n).

Cheers,

Pedro

-- 
José Pedro Ferreira

Software Developer, Indico Project
http://indico-software.org

+-----------+
+  '``'--- `+  CERN - European Organization for Nuclear Research
+ |CERN|  / +  1211 Geneve 23, Switzerland
+ ..__. \.  +  IT-UDS-AVC
+  \\___.\  +  Office: 513-1-005
+      /    +  Tel. +41227677159
+-----------+


More information about the ZODB-Dev mailing list