Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
825677c3
Commit
825677c3
authored
Feb 26, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add two notes about common use.
parent
c697fe70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
trunk/src/ZODB/Connection.py
trunk/src/ZODB/Connection.py
+8
-2
No files found.
trunk/src/ZODB/Connection.py
View file @
825677c3
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.12
5 2004/02/26 22:55:51
jeremy Exp $"""
$Id: Connection.py,v 1.12
6 2004/02/26 22:57:09
jeremy Exp $"""
import
logging
import
sys
...
...
@@ -77,6 +77,9 @@ class Connection(ExportImport, object):
You should not instantiate this class directly; instead call the
open() method of a DB instance.
In many applications, root() is the only method of the Connection
that you will need to use.
Synchronization
A Connection instance is not thread-safe. It is designed to
...
...
@@ -112,7 +115,7 @@ class Connection(ExportImport, object):
@group Other Methods: oldstate, exchange, getDebugInfo, setDebugInfo,
getTransferCounts
$Id: Connection.py,v 1.12
5 2004/02/26 22:55:51
jeremy Exp $
$Id: Connection.py,v 1.12
6 2004/02/26 22:57:09
jeremy Exp $
"""
_tmp
=
None
...
...
@@ -222,6 +225,9 @@ class Connection(ExportImport, object):
already in the cache, a reference to the cached object will be
returned.
Applications seldom need to call this method, because objects
are loaded transparently during attribute lookup.
@return: persistent object
@rtype: L{IPersistent}
@raise KeyError: If C{oid} does not exist.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment