|
преди 1 година | |
---|---|---|
include | преди 1 година | |
src | преди 1 година | |
.gitignore | преди 4 години | |
LICENSE | преди 4 години | |
README.md | преди 3 години | |
VelocyStream.md | преди 4 години | |
VelocyStream_zh.md | преди 4 години | |
rebar.config | преди 1 година | |
start.sh | преди 4 години |
arangodb erlang driver
erlang otp21.2+ arangodb 3.6.2 3.7 3.9
Efficient, fast and easy to use.
https://www.arangodb.com/docs/stable/http/batch-request.html
rebar3 compile
revar3: rebar3 shell
Non-connection pooling mode
Make a connection first
{ok, Socket} = agVstCli:connect([]). %% Use default Settings
%% Then you can then call various apis using Socket as the first argument
agMgrDb:curDbInfo(Socket).
Connection pooling mode
application:ensure_all_started(eArango). %% start app
agVstCli:startPool(poolName, [], []). %% start pool
%% Then you can then invoke various apis using poolName as the first argument
agMgrDb:curDbInfo(poolName).
该驱动中所有的字符串 一律值 二进制的字符串 QueryPars 和 Headers为map 其中的 key -> value 必须为字符串