class documentation

class rollup(GenericFunction):

View In Hierarchy

Implement the ROLLUP grouping operation.

This function is used as part of the GROUP BY of a statement, e.g. _expression.Select.group_by:

stmt = select(
    func.sum(table.c.value), table.c.col_1, table.c.col_2
).group_by(func.rollup(table.c.col_1, table.c.col_2))
New in version 1.2.
Class Variable ​_has​_args Undocumented
Class Variable inherit​_cache Undocumented

Inherited from GenericFunction:

Method __init__ Undocumented
Class Variable ​_register Undocumented
Class Variable coerce​_arguments Undocumented
Instance Variable ​_bind Undocumented
Instance Variable clause​_expr Undocumented
Instance Variable packagenames Undocumented
Instance Variable type Undocumented
_has_args: bool =
inherit_cache: bool =