QuerySpec: choose the returned fields #5
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Gilles/bigb-django#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For Argus's metric charts (argus/frontend#30, monitoring plan): a chart needs two columns (date, value), but a QuerySpec without
group_byreturns every registered field of the model.Scope
"fields": ["at", "value"]in a QuerySpec: the columns returned (and their order) when there's nogroup_by; each must be in the model'sfieldswhitelist. Absent = today's behaviour (all of them).group_by/aggregates(those already define the columns).