Browse Source

fix: include count query with clear cache

pull/8295/head
Pranav C 7 months ago
parent
commit
7e84ee39a1
  1. 2
      packages/nocodb/src/models/View.ts

2
packages/nocodb/src/models/View.ts

@ -1495,12 +1495,14 @@ export default class View implements ViewType {
for (const view of viewsList) {
deleteKeys.push(
`${CacheScope.SINGLE_QUERY}:${modelId}:${view.id}:queries`,
`${CacheScope.SINGLE_QUERY}:${modelId}:${view.id}:count`,
`${CacheScope.SINGLE_QUERY}:${modelId}:${view.id}:read`,
);
}
deleteKeys.push(
`${CacheScope.SINGLE_QUERY}:${modelId}:default:queries`,
`${CacheScope.SINGLE_QUERY}:${modelId}:default:count`,
`${CacheScope.SINGLE_QUERY}:${modelId}:default:read`,
);

Loading…
Cancel
Save