Skip to content

Instantly share code, notes, and snippets.

@Vagabond
Created April 6, 2011 15:57
Show Gist options
  • Save Vagabond/905913 to your computer and use it in GitHub Desktop.
Save Vagabond/905913 to your computer and use it in GitHub Desktop.
15> riakc_pb_socket:put(RC, Object1, [return_body]).
{ok,{riakc_obj,<<"bucket">>,<<"key">>,
<<107,206,97,96,96,96,205,96,202,5,82,44,44,69,199,129,
204,68,198,60,86,6,99,...>>,
[{{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],...},
{{[],[],[],[],[],[],[],[],[],[],...}}},
<<"value">>}],
undefined,undefined}}
16> riakc_pb_socket:put(RC, Object2, [return_body]).
{ok,{riakc_obj,<<"bucket">>,
<<"537wsPi9WZlfmIYo6bLI7puahrn">>,
<<107,206,97,96,96,96,204,96,202,5,82,44,12,87,231,242,
102,48,37,50,230,177,50,...>>,
[{{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],...},
{{[],[],[],[],[],[],[],[],[],[],...}}},
<<"value">>}],
undefined,undefined}}
17> riakc_pb_socket:put(RC, Object2, [return_body]).
{ok,{riakc_obj,<<"bucket">>,
<<"P9sGIgvfAlBK9siUlratMYdVS78">>,
<<107,206,97,96,96,96,204,96,202,5,82,44,12,87,231,242,
102,48,37,50,230,177,50,...>>,
[{{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],...},
{{[],[],[],[],[],[],[],[],[],[],...}}},
<<"value">>}],
undefined,undefined}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment