key_val() = lis() | binary()
property() = json_obj() | tuple()
delete_value/2 | Deletes all entries associated with Key in json object. |
extend/2 | extend a jsonobject by a property or list of property. |
extend/3 | extend a jsonobject by key, value. |
get_id/1 | get document id. |
get_idrev/1 | get a tuple containing docucment id and revision. |
get_rev/1 | get document revision. |
get_value/2 | Returns the value of a simple key/value property in json object Equivalent to get_value(Key, JsonObj, undefined). |
get_value/3 | Returns the value of a simple key/value property in json object function from erlang_couchdb. |
is_saved/1 | If document have been saved (revision is defined) return true, else, return false. |
set_value/3 | set a value for a key in jsonobj. |
delete_value(Key::key_val(), JsonObj::json_obj()) -> json_obj()
Deletes all entries associated with Key in json object.
extend(Prop::property(), JsonObj::json_obj()) -> json_obj()
extend a jsonobject by a property or list of property
extend(Key::binary(), Value::json_term(), JsonObj::json_obj()) -> json_obj()
extend a jsonobject by key, value
get_id(Doc::json_obj()) -> binary()
get document id.
get_idrev(Doc::json_obj()) -> {DocId, DocRev}
get a tuple containing docucment id and revision.
get_rev(Doc::json_obj()) -> binary()
get document revision.
get_value(Key::key_val(), JsonObj::json_obj()) -> term()
Returns the value of a simple key/value property in json object Equivalent to get_value(Key, JsonObj, undefined).
get_value(Key::lis() | binary(), JsonObj::json_obj(), Default::term()) -> term()
Returns the value of a simple key/value property in json object function from erlang_couchdb
is_saved(Doc::json_obj()) -> boolean()
If document have been saved (revision is defined) return true, else, return false.
set_value(Key::key_val(), Value::term(), JsonObj::json_obj()) -> term()
set a value for a key in jsonobj. If key exists it will be updated.
Generated by EDoc, Aug 31 2012, 10:02:31.