Commits

Andy Gross  committed cb9e1b5

update README to reflect binary bucket changes

  • Participants
  • Parent commits 6baf9dd

Comments (0)

Files changed (1)

                  "20090722191020-riaktest@127.0.0.1-riakdemo@127.0.0.1-266664"}}
 
 riaktest@127.0.0.1)2> %% Create a shopping list for bread at /groceries/mine
-riaktest@127.0.0.1)2> O0 = riak_object:new(groceries, <<"mine">>, ["bread"]).
-{r_object,groceries,<<"mine">>,
+riaktest@127.0.0.1)2> O0 = riak_object:new(<<"groceries">>, <<"mine">>, ["bread"]).
+{r_object,<<"groceries">>,<<"mine">>,
           [{r_content,{dict,0,16,16,8,80,48,
                             {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                             {{[],[],[],[],[],[],[],[],[],[],[],[],...}}},
 ok
 
 (riaktest@127.0.0.1)4> %% retrieve the list
-(riaktest@127.0.0.1)4> {ok, O1} = C:get(groceries, <<"mine">>, 1).
-{ok,{r_object,groceries,<<"mine">>,
+(riaktest@127.0.0.1)4> {ok, O1} = C:get(<<"groceries">>, <<"mine">>, 1).
+{ok,{r_object,<<"groceries">>,<<"mine">>,
               [{r_content,{dict,2,16,16,8,80,48,
                                 {[],[],[],[],[],[],[],[],[],[],[],[],...},
                                 {{[],[],[],[],[],[],
 
 (riaktest@127.0.0.1)6> %% add milk to the list
 (riaktest@127.0.0.1)6> O2 = riak_object:update_value(O1, ["milk"|V]).
-{r_object,groceries,<<"mine">>,
+{r_object,<<"groceries">>,<<"mine">>,
           [{r_content,{dict,2,16,16,8,80,48,
                             {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                             {{[],[],[],[],[],[],
 
 
 (riaktest@127.0.0.1)8> %% find out what else is in the groceries bucket
-(riaktest@127.0.0.1)8> C:list_keys(groceries).
+(riaktest@127.0.0.1)8> C:list_keys(<<"groceries">>).
 {ok,[<<"mine">>]}