NIF based Erlang bindings for couchbase based on libcouchbase. CBERL is at very early stage of development, it only supports very basic functionality. Please submit bugs and patches if you find any.
if you don't have libcouchbase already installed run ./rebar get-deps then:
./rebar compile
erl -pa ebin
Make sure you have couchbase running on localhost or use cberl:new(Host) instead.
1> {ok, Instance} = cberl:new().
{ok,<<>>}
2> cberl:set(Instance, "fkey", "cberl").
ok
3> cberl:mget(Instance, "fkey").
{ok,"cberl"}
For more information on all the functions -> ./rebar doc
-
Write more tests
-
Support batch operations, right now all operations are performed on single key
-
Add informational methods
-
Make function signatures more compatible with other couchbase clients