| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
ChangesStream
Change stream object.
.. code-block:: python
from couchdbkit import Server from couchdbkit.changes import ChangesStream
s = Server()
db = s['testdb']
stream = ChangesStream(db)
print "got change now"
for c in stream:
print c
print "stream changes"
with ChangesStream(db, feed="continuous", heartbeat=True) as stream:
for c in stream: print c
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri May 4 11:48:40 2012 | http://epydoc.sourceforge.net |