Loading TOC...

MarkLogic 12 EA 2 Product Documentation
op functions (Functions for Building Grouping Key Parameters)

The following functions define groups for passing as parameters to the prototype.groupByUnion or prototype.groupToArrays methods.

5 functions
Function name Description
op.bucketGroup This function can be used as a named group in functions prototype.groupToArrays or prototype.facetBy .
op.cube This function specifies a list of grouping keys for a group and returns that group and every possible larger group (including all rows) formed from any subset of keys.
op.group This function specifies the grouping keys for a group as a list of zero or more columns.
op.namedGroup This function specifies the grouping keys for a group as a named list of zero or more columns.
op.rollup This function specifies a list of grouping keys for a group and returns that group and larger groups (including all rows) formed by dropping columns from right to left.