MCPcopy Create free account
hub / github.com/apitable/apitable / removeCellCacheByRecord

Method removeCellCacheByRecord

packages/core/src/cache_manager/cache.ts:125–133  ·  view source on GitHub ↗
(dsId: string, recordId: string)

Source from the content-addressed store, hash-verified

123 }
124
125 removeCellCacheByRecord(dsId: string, recordId: string) {
126 const fields = this.getDsFields(dsId);
127 if (!fields) {
128 return false;
129 }
130 return fields.every((fieldId: string) => {
131 return this.removeCellCache(dsId, fieldId, recordId);
132 });
133 }
134
135 removeDsCache(dsId: string) {
136 this.dsMap.set(dsId, null);

Callers 4

index.tsFile · 0.80
_getCellValueMethod · 0.80
removeCacheFunction · 0.80

Calls 2

getDsFieldsMethod · 0.95
removeCellCacheMethod · 0.95

Tested by

no test coverage detected