Using the Local Client from a riak-attach session

Derek Sanderson zapphutz at gmail.com
Fri Jan 18 08:09:52 EST 2013


I love this mailing list

Thank you Daniil! I had almost exactly the first thing you recommended, but
the example I found had a slightly different notation, and was throwing
errors that I couldn't figure out.

Your example seems to be working, and I think I can get past my issue

Thanks again

On Thu, Jan 17, 2013 at 10:30 PM, Daniil Churikov <ddosia at gmail.com> wrote:

> Another option, if you want range query:
>
>     {ok, C} = riak:local_client(),
>     {ok, Keys} = C:get_index(<<"bucket_name">>, {range, <<"key_name_bin">>,
> KeyStart, KeyTo}),
>     ...
>
>
>
> --
> View this message in context:
> http://riak-users.197444.n3.nabble.com/Using-the-Local-Client-from-a-riak-attach-session-tp4026572p4026578.html
> Sent from the Riak Users mailing list archive at Nabble.com.
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130118/02c00a9b/attachment.html>


More information about the riak-users mailing list