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
c1f44945
Commit
c1f44945
authored
Mar 21, 2005
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repaired some ReST markup.
parent
583aa3fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
trunk/NEWS.txt
trunk/NEWS.txt
+11
-11
No files found.
trunk/NEWS.txt
View file @
c1f44945
...
@@ -43,17 +43,17 @@ BTrees
...
@@ -43,17 +43,17 @@ BTrees
FileStorage
FileStorage
-----------
-----------
- Add a record iteration protocol to FileStorage. You can use the
- Add
ded
a record iteration protocol to FileStorage. You can use the
record iterator to iterate over all current revisions of data
record iterator to iterate over all current revisions of data
pickles in the storage.
pickles in the storage.
In order to support calling via ZEO, we don't implement this as an
In order to support calling via ZEO, we don't implement this as an
1
actual iterator. An example of using the record iterator protocol
actual iterator. An example of using the record iterator protocol
is as follows:
is as follows:
:
storage = FileStorage('anexisting.fs')
storage = FileStorage('anexisting.fs')
next_oid = None
next_oid = None
while 1
:
while True
:
oid, tid, data, next_oid = storage.record_iternext(next_oid)
oid, tid, data, next_oid = storage.record_iternext(next_oid)
# do something with oid, tid and data
# do something with oid, tid and data
if next_oid is None:
if next_oid is None:
...
...
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