Question regarding riak-js getAll() method using where option

Mathias Meyer mathias at basho.com
Thu Apr 28 23:09:05 EDT 2011


Luc,

that was indeed a bug in riak-js, but it has been fixed in a recent commit [1], which I just verified to give the expected results.

Quickest workaround to get it working locally is to clone the repository, have CoffeeScript installed, and then run the following commands in the repository's directory:

$ cake build
$ npm install

Mathias Meyer
Developer Advocate, Basho Technologies

[1] https://github.com/frank06/riak-js/commit/d65a2fc3ac227aeb3dc17bc5d7c703a4fcb8c232
On Donnerstag, 28. April 2011 at 17:41, Luc Castera wrote:
Hi folks,
> 
> I've encountered an issue while using riak-js today and I was wondering if someone on the list could help me with it.
> 
> The 'where' option does not seem to work for me. Below is some code that shows the issue: 
> https://gist.github.com/947156
> 
>  The second call to getAll here should not return any data since the database has no memberships with 'mourinho' as the user_id but it does return data anyway.
> 
> What am I doing wrong here? 
> 
> I'll appreciate any help with this.
> 
> Thanks,
> 
> -- 
> ______________________
> Luc Castera
> _______________________________________________
> 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