Samples
Create a state aggregate and determine the state at a particular time.Arguments
The syntax is:| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| agg | StateAgg | - | ✔ | A state aggregate created with state_agg |
| ts | TIMESTAMPTZ | - | ✔ | The time to get the state at |
Returns
| Column | Type | Description |
|---|---|---|
| state | TEXT | BIGINT | The state at the given time. |