ByUserDefinedFields
- class rolumns.ByUserDefinedFields(*fields: UserDefinedField)[source]
Groups rows by a list of user-defined fields.
fields
describes the fields to resolve.- NAME = 'name'
Path to the field name.
- VALUE = 'value'
Path to the field value.
- resolve(data: Any) Iterable[Any] [source]
Resolves
data
to an iterable list of records.The field name will be recorded at the
ByUserDefinedFields.NAME
path and the value atByUserDefinedFields.VALUE
.