Time Series Database Cache Module by Automation Professionals
E-Mail Support

system.db.forgetCachedSpan

Invalidate a cache's data for a specific time span for all consumers, causing a re-query in the gateway when next requested (if not immediately). Allows an application to run Update queries and then have the new data show up in a corresponding cache.

Syntax

system.db.forgetCachedSpan(handle, minTS, maxTS) returns boolean

ArgumentData TypeDescription
handleLongNumeric handle from registerSeriesCache().
minTSDateForget timespan start timestamp, inclusive. May be null.
maxTSDateForget timespan end timestamp, exclusive. May be null.