Module couchbeam_util

Function Index

deprecated/3
encode_att_name/1
encode_docid/1
encode_query/1Encode needed value of Query proplists in json.
encode_query_value/2Encode value in JSON if needed depending on the key.
get_app_env/2
get_value/2emulate proplists:get_value/2,3 but use faster lists:keyfind/3.
get_value/3
oauth_header/3
parse_options/1make view options a list.
parse_options/2
propmerge/3merge 2 proplists.
propmerge1/2Update a proplist with values of the second.
shutdown_sync/1
start_app_deps/1Start depedent applications of App.
to_atom/1
to_binary/1
to_integer/1
to_list/1

Function Details

deprecated/3

deprecated(Old, New, When) -> any()

encode_att_name/1

encode_att_name(Name) -> any()

encode_docid/1

encode_docid(DocId) -> any()

encode_query/1

encode_query(QSL) -> any()

Encode needed value of Query proplists in json

encode_query_value/2

encode_query_value(K, V) -> any()

Encode value in JSON if needed depending on the key

get_app_env/2

get_app_env(Env, Default) -> any()

get_value/2

get_value(Key::term(), Prop::[term()]) -> term()

emulate proplists:get_value/2,3 but use faster lists:keyfind/3

get_value/3

get_value(Key::term(), Prop::[term()], Default::term()) -> term()

oauth_header/3

oauth_header(Url, Action, OauthProps) -> any()

parse_options/1

parse_options(Options) -> any()

make view options a list

parse_options/2

parse_options(Rest, Acc) -> any()

propmerge/3

propmerge(F, L1, L2) -> any()

merge 2 proplists. All the Key - Value pairs from both proplists are included in the new proplists. If a key occurs in both dictionaries then Fun is called with the key and both values to return a new value. This a wreapper around dict:merge

propmerge1/2

propmerge1(L1, L2) -> any()

Update a proplist with values of the second. In case the same key is in 2 proplists, the value from the first are kept.

shutdown_sync/1

shutdown_sync(Pid) -> any()

start_app_deps/1

start_app_deps(App::atom()) -> ok

Start depedent applications of App.

to_atom/1

to_atom(V) -> any()

to_binary/1

to_binary(V) -> any()

to_integer/1

to_integer(V) -> any()

to_list/1

to_list(V) -> any()


Generated by EDoc, Aug 31 2012, 10:02:31.