On Fri, Aug 16, 2013 at 9:38 AM, Joerg Baach <li...@baach.de> wrote:
> Hi *,
> after having looked around on google and the zodb api documentation[1] I
> am still unsure how to handle connections properly (especially in the
> context of syncing zeo clients):
> When do I need to:
> - connection.close()

When you're done using a connection. :)

> - connection.sync()

Never.  This is obsolete.

I suspect you aren't asking the right question.

I'm gonna guess you're asking:

"What do I need to do to see database updates (made by other

The answer to that question is:

To see database changes, you need to start a new transaction.

You always see data as of the time the current transaction started.


Jim Fulton
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to