MCPcopy Create free account
hub / github.com/Effect-TS/effect / invalidate

Function invalidate

packages/platform/browser/src/IndexedDbQueryBuilder.ts:1534–1542  ·  view source on GitHub ↗
(
    this: IndexedDbQuery.Delete<any, never>,
    keys?: ReadonlyArray<unknown> | Record.ReadonlyRecord<string, ReadonlyArray<unknown>> | undefined
  )

Source from the content-addressed store, hash-verified

1532 })
1533 },
1534 invalidate(
1535 this: IndexedDbQuery.Delete<any, never>,
1536 keys?: ReadonlyArray<unknown> | Record.ReadonlyRecord<string, ReadonlyArray<unknown>> | undefined
1537 ) {
1538 keys ??= this.only !== undefined
1539 ? { [this.delete.from.table.tableName]: [this.only] }
1540 : [this.delete.from.table.tableName]
1541 return this.delete.from.reactivity.mutation(keys, this)
1542 }
1543}
1544
1545const makeDelete = <

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected