View Source Timescale.Hyperfunctions (Timescale v0.0.1-alpha.2)

Link to this section Summary

Functions

The last aggregate allows you to get the value of one column as ordered by another. For example, last(temperature, time) returns the latest temperature value based on time within an aggregate group.

Link to this section Functions

Link to this macro

last(field, time)

View Source (macro)

The last aggregate allows you to get the value of one column as ordered by another. For example, last(temperature, time) returns the latest temperature value based on time within an aggregate group.

Documentation