We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a44846e commit 6200b73Copy full SHA for 6200b73
src/services/MysqlCache.ts
@@ -154,7 +154,7 @@ export class MysqlCache<Scheme> extends MysqlNative<Scheme> {
154
155
async deleteCache(ids: string[], dataList: Array<CoaMysql.SafePartial<Scheme>>, trx?: CoaMysql.Transaction) {
156
if (trx && !(trx as any).clearCacheNsps) {
157
- (trx as any).clearCacheNsps = [] as any
+ (trx as any).clearCacheNsps = [] as CoaRedis.CacheDelete[]
158
}
159
if (trx && (trx as any).clearCacheNsps) {
160
(trx as any).clearCacheNsps.push([this.getCacheNsp('id'), ids]);
0 commit comments