Arguments
| 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 |
Determine the state at a given time
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| agg | StateAgg | - | ✔ | A state aggregate created with state_agg |
| ts | TIMESTAMPTZ | - | ✔ | The time to get the state at |
| Column | Type | Description |
|---|---|---|
| state | TEXT | BIGINT | The state at the given time |