class documentation

class array_agg(GenericFunction):

View In Hierarchy

Support for the ARRAY_AGG function.

The func.array_agg(expr) construct returns an expression of type _types.ARRAY.

e.g.:

stmt = select(func.array_agg(table.c.values)[2:5])
New in version 1.1.

See Also

_postgresql.array_agg - PostgreSQL-specific version that returns _postgresql.ARRAY, which has PG-specific operators added.

Method __init__ Undocumented
Class Variable inherit​_cache Undocumented

Inherited from GenericFunction:

Class Variable ​_register Undocumented
Class Variable coerce​_arguments Undocumented
Instance Variable ​_bind Undocumented
Instance Variable ​_has​_args Undocumented
Instance Variable clause​_expr Undocumented
Instance Variable packagenames Undocumented
Instance Variable type Undocumented
def __init__(self, *args, **kwargs):
inherit_cache: bool =