|
|
__init__(self,
path,
create=False,
docid=None,
is_ddoc=True)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
get_id(self)
if there is an _id file, docid is extracted from it, else we take the
current folder name. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
push(self,
dbs,
atomic=True,
force=False)
Push a doc to a list of database `dburls`. |
source code
|
|
|
|
|
|
|
doc(self,
db=None,
with_attachments=True,
force=False)
Function to reetrieve document object from document directory. |
source code
|
|
|
|
|
|
|
dir_to_fields(self,
current_dir='',
depth=0,
manifest=[])
process a directory and get all members |
source code
|
|
|
|
_process_attachments(self,
path,
vendor=None)
the function processing directory to yeld attachments. |
source code
|
|
|
|
attachments(self)
This function yield a tuple (name, filepath) corresponding to each
attachment (vendor included) in the couchapp. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|