Merge lp:~thisfred/u1db/get_all_the_docs into lp:u1db
Proposed by
Eric Casteleijn
Status: | Merged |
---|---|
Approved by: | Eric Casteleijn |
Approved revision: | 315 |
Merged at revision: | 316 |
Proposed branch: | lp:~thisfred/u1db/get_all_the_docs |
Merge into: | lp:u1db |
Diff against target: |
230 lines (+133/-0) 7 files modified
include/u1db/u1db.h (+16/-0) src/u1db.c (+39/-0) u1db/__init__.py (+12/-0) u1db/backends/inmemory.py (+10/-0) u1db/backends/sqlite_backend.py (+13/-0) u1db/tests/c_backend_wrapper.pyx (+15/-0) u1db/tests/test_backends.py (+28/-0) |
To merge this branch: | bzr merge lp:~thisfred/u1db/get_all_the_docs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Samuele Pedroni | Approve | ||
Review via email: mp+107388@code.launchpad.net |
Commit message
added db.get_all_docs() method to all backends that returns all (non-deleted) documents.
Description of the change
added db.get_all_docs() method to all backends that returns all (non-deleted) documents.
To post a comment you must log in.
Two questions: 1. don't we want to return a generation number, so you can call get_all_docs and then move to whats_changed from there on out? 2. isn't this a candidate for include_deleted?