Modules
Objects/Functions
SuiteScript 2.0
{Cache}.remove({key: {string*}})
N/cache Module
Cache.remove()
Method Description:
Removes a value from the cache.
Returns:
void
Supported Script Types:
All server-side scripts
For additional information, see SuiteScript 2.0 Script Types.
Governance:
1 unit
Module:
N/cache Module
Parent Object:
cache.Cache
Sibling Object Members:
Cache Object Members
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Cache.remove(options)
Example:
// Code Example 1
//Add additional code
//...
var myCache = cache.getCache({
name: 'temporaryCache',
scope: cache.Scope.PRIVATE
});
myCache.remove({
key: 'keyText'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4642660820.html