[ZODB-Dev] In-memory storage with undo ability?

Dieter Maurer dieter at handshake.de
Thu Jan 11 16:18:45 EST 2007


Rooney, Mike (ext. 324) wrote at 2007-1-10 17:01 -0500:
>Hi everyone, I have what I imagine is a pretty simple question. I am looking
>for a type of storage class (like FileStorage) which allows for undoing
>but stays in memory instead of on disk. If DemoStorage supported undo
>it would work but it does not appear to in ZODB 3.6.

If Jim is not right (and "DemoStorage" does not support "undo"),
then it would not be difficult to derive a "RamFileStorage" from
"FileStorage" that exactly works like "FileStorage" but have its
file implemented as a "StringIO" (rather than a file on the file system).



-- 
Dieter


More information about the ZODB-Dev mailing list