Namespace couchlib
Defined in: couchlib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<inner> |
check_object_exists(couchdb_opts, schema, name, cb)
Checks if a document exists.
|
<inner> |
get_couchdb_connection(couchdb_opts)
Get a CouchDB connection.
|
<inner> |
get_couchdb_schema(couchdb_opts, schema)
Get a object for a CouchDB namespace.
|
<inner> |
merge_object(couchdb_opts, schema, name, props, cb)
Saves a document after replacing a n properties.
|
<inner> |
meth_object(couchdb_opts, schema, name, meth, cb)
Saves a document after applying a method to the document.
|
Method Detail
<inner>
check_object_exists(couchdb_opts, schema, name, cb)
Checks if a document exists.
- Parameters:
- couchdb_opts
- schema
- name
- cb
<inner>
get_couchdb_connection(couchdb_opts)
Get a CouchDB connection.
- Parameters:
- couchdb_opts
<inner>
get_couchdb_schema(couchdb_opts, schema)
Get a object for a CouchDB namespace.
- Parameters:
- couchdb_opts
- schema
<inner>
merge_object(couchdb_opts, schema, name, props, cb)
Saves a document after replacing a n properties.
- Parameters:
- couchdb_opts
- schema
- name
- props
- cb
<inner>
meth_object(couchdb_opts, schema, name, meth, cb)
Saves a document after applying a method to the document.
- Parameters:
- couchdb_opts
- schema
- name
- meth
- cb