Skip to content

Reset database cache

Database cache reset

Reset cache of database table/collection using global object 'g'.

1
2
3
4
5
await g.sys.cache.resetCacheDB({
    instance: "INSTANCE_NAME",
    database: "DATABASE_NAME",
    collection: "COLLECTION_NAME"
});