Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 815 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 815 Bytes

Pool of erlCQL connections Build Status

See erlCQL for more info.

API

Start

See poolboy for pool specific options.

erlcql_poolboy:start_link(PoolName :: atom(),
                          PoolboyOptions :: proplists:proplist(),
                          ErlCQLOptions :: proplists:proplist()) ->
    {ok, Pid :: pid()} | {error, Reason :: term()}.

Query

erlcql_poolboy:q(PoolName :: atom(),
                 Query :: iodata(),
                 Consistency :: erlcql:consistency()) ->
    erlcql:response().