[ZODB-Dev] Packing Mounted Storages (from ZEO clients)
Chris Withers
chrisw@nipltd.com
Fri, 26 Apr 2002 14:11:17 +0100
Chris McDonough wrote:
>
> Call the mounted storage's pack() method. You can do this like so, where
> "obj" is any object contained in the database backed by the storage you want
> to pack:
>
> storage = obj._p_jar._db._storage
> storage.pack()
>
> This will have no effect on the other storage.
storage = obj_in_mounted_storage._p_jar._db._storage
print storage
..gives:
<ClientStorage instance at 0132F448>
...waaaagh :-(
Heylp?!
cheers,
Chris