(dsId: string, fieldId: string, recordId?: string)
| 107 | } |
| 108 | |
| 109 | removeCellCache(dsId: string, fieldId: string, recordId?: string) { |
| 110 | const ds = this.getDsCache(dsId); |
| 111 | if (!ds) { |
| 112 | return false; |
| 113 | } |
| 114 | if (!recordId) { |
| 115 | ds.cellValues.delete(fieldId); |
| 116 | return true; |
| 117 | } |
| 118 | const field = ds.cellValues.get(fieldId); |
| 119 | if (!field) { |
| 120 | return false; |
| 121 | } |
| 122 | return field.delete(recordId); |
| 123 | } |
| 124 | |
| 125 | removeCellCacheByRecord(dsId: string, recordId: string) { |
| 126 | const fields = this.getDsFields(dsId); |
no test coverage detected