interpolated_state_timeline.
Samples
Get the history of states from a state aggregate.Arguments
The syntax is:| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| agg | StateAgg | - | ✔ | The aggregate from which to get a timeline |
Returns
| Column | Type | Description |
|---|---|---|
| state | TEXT | BIGINT | A state found in the state aggregate |
| start_time | TIMESTAMPTZ | The time when the state started (inclusive) |
| end_time | TIMESTAMPTZ | The time when the state ended (exclusive) |