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