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
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

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

Reply via email to