MCPcopy Create free account
hub / github.com/effect-app/libs / bulkSetInternal

Function bulkSetInternal

packages/infra/src/Store/SQL.ts:154–160  ·  view source on GitHub ↗
(items: NonEmptyReadonlyArray<PM>, ns: string)

Source from the content-addressed store, hash-verified

152 code: 404
153 })
154 }
155 } else {
156 yield* exec(
157 `INSERT INTO "${tableName}" (id, _namespace, _etag, data) VALUES (?, ?, ?, ?)`,
158 [row.id, ns, row._etag, row.data]
159 )
160 }
161 return row.item
162 })
163

Callers 2

makeSQLStoreIntFunction · 0.70
makeSQLiteStorePerNsFunction · 0.70

Calls 4

withNsSqlFunction · 0.85
pipeMethod · 0.65
forEachMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…