Namespace: PreparePlan

Methods

map(func) → {planBuilder.PlanExportablePlan}

This method applies the specified function
to each row returned by the plan to produce a different result row.
Provides a client interface to a server function. See PreparePlan.prototype.map

Parameters:

Name

Type

Argument

Description

func

PlanFunction

<optional>

The function to be appied.

Since:

2.1.1

Returns:

Type

planBuilder.PlanExportablePlan

reduce(func, seed) → {planBuilder.PlanExportablePlan}

This method applies a function or the
builtin reducer to each row returned by the plan to produce a
single result as with the reduce() method of JavaScript Array.
Provides a client interface to a server function. See PreparePlan.prototype.reduce