Marius Gedminas wrote:
> I'd like to implement the following feature for zodbbrowser: given a
> persistent object X, find all other persistent objects that have
> references to it.

RelStorage has this functionality, but I don't know how we ought to 
expose it.  Start a pack to update the graph, then query the object_ref 
table.  Turn on pack-dry-run if you only want to update the table and 
don't want to pack.

I'd like to make RelStorage implement some Python API for listing 
backreferences, but no such API has been defined.

Shane

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to