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

Function batchSpanName

packages/sql/d1/src/D1Client.ts:137–140  ·  view source on GitHub ↗
(spanAttributes: ReadonlyArray<readonly [string, unknown]>)

Source from the content-addressed store, hash-verified

135}
136
137const batchSpanName = (spanAttributes: ReadonlyArray<readonly [string, unknown]>): string => {
138 const target = Statement.spanTarget(spanAttributes)
139 return target === undefined ? "BATCH" : `BATCH ${target}`
140}
141
142const makeBatch = (options: {
143 readonly db: D1Database

Callers 1

makeBatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected