The ts_nelems() function

The ts_nelems() function returns the number of elements in the time series.

Syntax

mi_integer 
ts_nelems(ts_tsdesc *tsdesc)
tsdesc
The time series descriptor returned by ts_open().

Description

The equivalent SQL function is GetNelems.

Returns

The number of elements in the time series.