Loading TOC...

MarkLogic 10 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:bucket-group This function can be used as a named group in functions op:group-to-arrays or op:facet-by.
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:named-group 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.