Hi All,
Can anyone help me how I can use group by function in Riak map
function written in javascript.
I just want to group by Country where my key value is my Country name.
return [obj]; // works fine
return [{value.key : [obj]}] // Not working
obj is a json object
at 11:57 AM, Venki Yedidha
wrote:
> Hi All,
> Can anyone help me how I can use group by function in Riak map
> function written in javascript.
>
> I just want to group by Country where my key value is my Country name.
>
>return [obj]; // works fine
>
>