| Home | Trees | Indices | Help |
|---|
|
|
module to fetch and stream changes from a database
|
|||
|
ChangesStream Change stream object. |
|||
|
|||
|
|||
|
|||
|
|||
__package__ =
|
|||
|
|||
Fold each changes and accuumulate result using a function
Args:
@param db: Database, a database object
@param fun: function, a callable with arity 2
@param since: int, sequence where to start the feed
@return: list, last acc returned
Ex of function:
fun(change_object,acc):
return acc
If the function return "stop", the changes feed will stop.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri May 4 11:48:40 2012 | http://epydoc.sourceforge.net |