credmark.cmf.types.ledger.LedgerAggregate
- DTO class LedgerAggregate(*, expression, asName)[source]
Bases:
BaseModel
An aggregate column in a query. It is defined by an expression and the name to use as the column name in the returned data.
Show JSON schema
{ "title": "LedgerAggregate", "description": "An aggregate column in a query.\nIt is defined by an expression and the name to use as the\ncolumn name in the returned data.", "type": "object", "properties": { "expression": { "title": "Expression", "description": "Aggregate expression, for example \"MAX(GAS_USED)\"", "type": "string" }, "asName": { "title": "Asname", "description": "Returned as data column name", "type": "string" } }, "required": [ "expression", "asName" ] }
- Fields
- Parameters
- Return type
None