DelElem 函数删除指定时间系列实例中指定时间点的元素。
DelElem(ts TimeSeries, tstamp datetime year to fraction(5), flags integer default 0) returns TimeSeries;
如果在指定时间点没有元素,那么不会删除元素,也不会出现错误。
与 DelElem 等效的 API 是 ts_del_elem()。
无法删除隐藏的时间戳记。
已删除一个元素的时间系列。
update activity_stocks set activity_data = DelElem(activity_data, '2011-01-05 12:58:09.23456' ::datetime year to fraction(5)) where stock_id = 600;