UpdMetaData function
The UpdMetaData function updates the user-defined metadata in the specified time series.
Syntax
create function UpdMetaData(ts TimeSeries,
metadata TimeSeriesMeta)
returns TimeSeries;
- ts
- The time series for which to update metadata.
- metadata
- The metadata to be added to the time series. Can be
NULL
.
Description
This function adds the supplied
user-defined metadata to the specified time series. If the metadata argument
is NULL
, then the time series is updated to contain
no metadata. If it is not NULL
, then the user-defined
metadata is stored in the time series.
Returns
The time series updated to contain
the supplied metadata, or the time series with metadata removed, if
the metadata argument is NULL
.