Creates a new object to to insert to the couchDB. Takes either a list or a formatted json object as value Any attachment to the record needs to be base64-encoded added to the list as "_attachments" If key is provided this is used, null sends a key-less record to couch and the key will have to be retrieved from the response object.
● Data Source:
CranContrib
● Keywords:
● Alias: couch_new_object
●
0 images
|
Specifies a database to write to on a couch connection by default.
● Data Source:
CranContrib
● Keywords:
● Alias: couch_set_default_database
●
0 images
|
Prints the couchDB connection object.
● Data Source:
CranContrib
● Keywords:
● Alias: print.couch_connection
●
0 images
|
Delete a record on the connection provided
● Data Source:
CranContrib
● Keywords:
● Alias: couch_delete
●
0 images
|
couchDB
(Package: couchDB) :
Functions to interact with a couchDB document database
This package contains functions to interact with couchDB - a document database. For more information about the couchDB database see: http://couchdb.apache.org. @section Get connected: To interact with a couchDB instance you will need to create a connection object. Communication with couchDB happens over a http protocol. A minimal connection (running on the default port and no password protection) would be:
● Data Source:
CranContrib
● Keywords:
● Alias: couchDB, couchDB-package
●
0 images
|
couch_fetch
(Package: couchDB) :
Fetch a document/record.
Fetches a couch object based on the key
● Data Source:
CranContrib
● Keywords:
● Alias: couch_fetch
●
0 images
|
couch_store_default
(Package: couchDB) :
Store a document on the default connection.
Stores a record on the default connection.
● Data Source:
CranContrib
● Keywords:
● Alias: couch_store_default
●
0 images
|
Sets up a couchDB connection to use as default
● Data Source:
CranContrib
● Keywords:
● Alias: couch_set_default_connection
●
0 images
|
Creates a connection object on the host and ports provided
● Data Source:
CranContrib
● Keywords:
● Alias: couch_http_connection
●
0 images
|
couch_attach
(Package: couchDB) :
Add attachment to document
Send attachment to an existing url
● Data Source:
CranContrib
● Keywords:
● Alias: couch_attach
●
0 images
|