clearDSCache!
Syntax
clearDSCache!(ds)
Arguments
ds is a data source or a list of data sources.
Details
Instruct the system to clear the cache after the next time the data source is executed.
Examples
$ PTNDB_DIR = "D:/db_testing"
$ dbName = database(PTNDB_DIR + "/NYSETAQByName")
$ Trades = dbName.loadTable(`Trades)
$ ds=sqlDS(<select Time,Exchange,Symbol,Trade_Volume as Vol, Trade_Price as Price from Trades>)
$ ds.cacheDS!() //cache the data
$ ds.clearCacheDS!() //clear the cache