Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persistence example #2

Open
gromgull opened this issue May 21, 2013 · 1 comment
Open

persistence example #2

gromgull opened this issue May 21, 2013 · 1 comment

Comments

@gromgull
Copy link
Member

the store has no .open() method.

Would it be possible to show how to use the ZODB Code to do on disk persistence?

@gweis
Copy link
Member

gweis commented May 21, 2013

Hi,

It does no really need an open method. The Btrees work just as well in memory.
If you want to persist it to disk, you just put the store into an open ZODB and commit the transaction. I'll create a small example, and think about some use cases. (maybe an open method would make sense in a standalone environment).

On 22/05/2013, at 6:50 AM, Gunnar Aastrand Grimnes [email protected] wrote:

the store has no .open() method.

Would it be possible to show how to use the ZODB Code to do on disk persistence?


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants