Loading TOC...

op functions (IteratePlan Object)

The following prototype methods are used to execute the plan or export it for use by the op.import function.

5 functions
Function name Description
op:execute This method executes the plan.
op:explain This method returns a representation of the builtin execution plan.
op:export This method generates a serialized representation of the Optic query to JSON so that it can be persisted as a file or used as a REST payload.
op:generate-view This method generates a view that encapsulates a query.
op:result This method executes the plan (mapping or reducing, if specified) to generate the result, which is a sequence of map:map or json:array rows, unless mapped or reduced to different output.