[Announcement] Official Riak Node.js client released.

José Ghislain Quenum jose.quenum at googlemail.com
Sat Apr 4 09:56:39 EDT 2015


Thanks Brian for your reply and trying to work out the links part.  I
took a look at the RiakObject and could see how to manipulate it with
FetchValue and the Secondary Index. However, I failed to figure out
how to access the meta while reading an object. Just as an example,
when you're updating an object you could be using some meta data, and
some of them come from a prior read.

If you could just share some examples with code  that'd be very helpful.

Thanks José

On Apr 2, 2015, at 3:18 PM, Brian Roach <roach at basho.com> wrote:

> Jose,
>
> See: http://basho.github.io/riak-nodejs-client/classes/RiakObject.html
>
> As noted in the docs for StoreValue and FetchValue, you can use
> RiakObject instead of a plain string or JS object, and metadata is the
> specific reason.
>
> That said, it would appear I forgot about links as link walking is a
> deprecated feature in Riak 2.0. I apologize for the oversight and will
> add them.
>
> As for explicit examples beyond the normal API docs, our various pages
> on docs.bacho.com are being updated to include node.js and will be
> done soon.
>
> Thanks!
> - Brian Roach
>
>
>
>
>
> On Thu, Apr 2, 2015 at 5:47 AM, Jose G. Quenum
> <jose.quenum at googlemail.com> wrote:
>>
>> Dear Brian,
>> Thank you very much for sharing this link. I have been looking for a riak client for node.js that is compatible with riak 2.0.
>> However, having glanced at it I noticed that there was no method to access the meta information. This is good for link manipulation, for example. As well in order to update an object the meta information could be useful. As a disclaimer here, I should mention that I have been using riak-js to access riak 1.4. Now I'd like to transition to riak 2.0 and I am looking for the right tools.
>>
>> Overall, where can one find more documentation and more concrete examples about how to manipulate riak with this client.
>> Thanks & regards,
>> Jose
>>
>> Sent from my iPad
>>
>>> On Apr 2, 2015, at 2:36 AM, Brian Roach <roach at basho.com> wrote:
>>>
>>> Greetings Riak Users!
>>>
>>> Today we released the official Node.js client for Riak.
>>>
>>> It's available via npm:
>>>
>>> https://www.npmjs.com/package/basho-riak-client
>>>
>>> The github repo can be found here:
>>>
>>> https://github.com/basho/riak-nodejs-client
>>>
>>> API docs are published here:
>>>
>>> http://basho.github.io/riak-nodejs-client/classes/Client.html
>>>
>>> Thanks!
>>> - Brian Roach
>>>
>>> _______________________________________________
>>> riak-users mailing list
>>> riak-users at lists.basho.com
>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




More information about the riak-users mailing list