RiakMapReduceQueryReduceJs Method |
Add a JavaScript reduce phase to the list of phases.
Namespace:
RiakClient.Models.MapReduce
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax Remarks
Configure the phase with a lambda similar to:
.ReduceJs(r => r.Name(@"Riak.reduceSum");
The code above will run the built-in JavaScript function "Riak.reduceSum" on the phase inputs.
See Also