Skip to content

Group

relationalai.semantics.frontend.base
Group(*args: Value)

Represent grouping keys for an aggregate.

Group stores the values passed to Aggregate.per (for example count(Person).per(Person.city)) and is used when the query is compiled.

Parameters

  • *args

    (Value, default: ()) - One or more values to group by.

Notes

Most users should not instantiate this class directly; prefer Aggregate.per.

Inheritance Hierarchy

GroupDSLBase

Subclassed By

 semantics > std > aggregates
└──  Per

Used By

 semantics > frontend > base
└──  Statement