Skip to content

Commit

Permalink
Update README w/ new set syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wcummings committed Jan 26, 2017
1 parent a30462e commit ebb6152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Make sure you have couchbase running on localhost or use cberl:new(Host) instead
cberl:start_link(cberl_default, 5).
{ok, <0.33.0>}
% Poolname, Key, Expire - 0 for infinity, Value
cberl:set(cberl_default, <<"fkey">>, 0, <<"cberl">>).
cberl:set(cberl_default, <<"fkey">>, <<"cberl">>, [{returncas, true}]).
{ok,CAS}
cberl:get(cberl_default, <<"fkey">>).
{<<"fkey">>, ReturnedCasValue, <<"cberl">>}
Expand Down

0 comments on commit ebb6152

Please sign in to comment.