diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-11-13 23:02:28 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-12-03 17:30:48 -0300 |
commit | 577abee147c98592753bcdc68e1693d1f4ab5a08 (patch) | |
tree | 6fa5ab4dc46592541cc5f1e13f650459f74c0403 /common/setup.py | |
parent | 6fd543b9fd9679f4978aeedee32eeece5593acc3 (diff) |
[feat] prepare server to handle batches
Created two methods on the backend to start and finish a batch. A dict of
callbacks is available to defer actions for the last document, allowing
temporary (changing often) metadata to be recorded only once.
Using those methods we will also be able to put all docs in one go on
the CouchDatabase implementation, but that is another step.
Diffstat (limited to 'common/setup.py')
0 files changed, 0 insertions, 0 deletions