Skip to content

Instantly share code, notes, and snippets.

View icemac's full-sized avatar

Michael Howitz icemac

View GitHub Profile
@icemac
icemac / zodb_refmap.py
Last active May 13, 2023 06:25 — forked from buchi/zodb_refmap.py
ZODB: find oids of objects referencing a specific oid
"""
Usage
=====
First create a refmap of your ZODB:
>>> r = build_refmap('/path/to/Data.fs')
Now you can find out which objects reference an object you know the oid of: