Module basexerl
add(Conn, Path, Input) -> Results
- Conn = pid()
- Path = binary() | string()
- Input = binary() | string()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
connect(User::string(), Password::string()) -> {ok, pid()}
connect(Host::string() | [], Port::integer() | [], User::string(), Password::string()) -> {ok, pid()}
create(Conn, Name) -> Results
- Conn = pid()
- Name = binary() | string()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
create(Conn, Name, Input) -> Results
- Conn = pid()
- Name = binary() | string()
- Input = binary() | string()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
disconnect(Conn::pid()) -> ok
execute(Conn::pid(), Command::binary() | string()) -> Results
- Results = {ok, Info} | {ok, Result, Info} | {error, Reason::term()}
- Result = binary()
- Info = binary()
q_bind(Conn, Qid, NamedSequence) -> Results
- Conn = pid()
- Qid = binary()
- NamedSequence = {Name::string(), [{Value, Type} | {Value}]}
- Value = string() | binary()
- Type = string() | binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_bind(Conn, Qid, Name, Value) -> Results
- Conn = pid()
- Qid = binary()
- Name = string()
- Value = string() | binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_bind(Conn, Qid, Name, Value, Type) -> Results
- Conn = pid()
- Qid = binary()
- Name = string() | {Name::string(), [{Value, Type} | {Value}]}
- Value = string() | binary()
- Type = string() | binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_close(Conn, Qid) -> Results
- Conn = pid()
- Qid = binary()
- Results = ok
q_context(Conn, Qid, Value) -> Results
- Conn = pid()
- Qid = binary()
- Value = string() | binary() | {context, [{Val, Type} | {Val}]}
- Val = string() | binary()
- Type = string() | binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_context(Conn, Qid, Value, Type) -> Results
- Conn = pid()
- Qid = binary()
- Value = string() | binary() | {context, [{Val, Type} | {Val}]}
- Val = string() | binary()
- Type = string() | binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_execute(Conn, Qid) -> Results
- Conn = pid()
- Qid = binary()
- Results = {ok, Result} | {error, Reason::term()}
- Result = binary()
q_info(Conn, Qid) -> Results
- Conn = pid()
- Qid = binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_options(Conn, Qid) -> Results
- Conn = pid()
- Qid = binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
q_results(Conn, Qid) -> Results
- Conn = pid()
- Qid = binary()
- Results = {ok, Result} | {error, Reason::term()}
- Result = [{Value::binary(), Type::atom()}]
query(Conn, Query) -> Results
- Conn = pid()
- Query = binary() | string() | [binary()] | [string()]
- Results = {ok, Qid} | {error, Reason::term()}
- Qid = binary()
replace(Conn, Path, Input) -> Results
- Conn = pid()
- Path = binary() | string()
- Input = binary() | string()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
retrieve(Conn, Path) -> Results
- Conn = pid()
- Path = binary() | string()
- Results = {ok, Result} | {error, Reason::term()}
- Result = binary()
store(Conn, Path, Input) -> Results
- Conn = pid()
- Path = binary() | string()
- Input = binary()
- Results = {ok, Info} | {error, Reason::term()}
- Info = binary()
Generated by EDoc