Namespace: PreparePlan

planBuilder. PreparePlan

PreparePlan objects have methods.
Since:
  • 2.1.1

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 applied.
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
Parameters:
Name Type Argument Description
func PlanFunction <optional>
The function to be applied.
seed XsAnyAtomicType <optional>
The value returned by the previous request.
Since:
  • 2.1.1
Returns:
Type
planBuilder.PlanExportablePlan
Copyright (c) 2020 MarkLogic Corporation Documentation generated by JSDoc 3.6.4 on 2020-08-04T23:55:50-07:00 using the DocStrap template.