AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Function epochUnitOf

    • Which epoch unit a column is in, from its range rather than one end of it. A single MAX() is decided by the largest row, so a "never expires" sentinel reported nanoseconds for an ordinary milliseconds column, and one legacy millisecond row among seconds reported milliseconds for all of them. When the ends disagree the column is mixed and the honest hint is none.

      Decided from aggregates, so the unit is stated and no row value is.

      Parameters

      • lo: number | null | undefined
      • Optionalhi: number | null

      Returns string | null