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

Function insert

packages/platform/browser/src/IndexedDbQueryBuilder.ts:1387–1389  ·  view source on GitHub ↗
(this: IndexedDbQuery.From<any>, value: any)

Source from the content-addressed store, hash-verified

1385 return cached
1386 },
1387 insert(this: IndexedDbQuery.From<any>, value: any) {
1388 return makeModify({ from: this, value, operation: "add" })
1389 },
1390 upsert(this: IndexedDbQuery.From<any>, value: any) {
1391 return makeModify({ from: this, value, operation: "put" })
1392 },

Callers

nothing calls this directly

Calls 1

makeModifyFunction · 0.85

Tested by

no test coverage detected