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

Function layer

repos/effect/packages/sql/sqlite-node/src/SqliteClient.ts:326–334  ·  view source on GitHub ↗
(
  config: SqliteClientConfig
)

Source from the content-addressed store, hash-verified

324 spanAttributes: [
325 ...(options.spanAttributes ? Object.entries(options.spanAttributes) : []),
326 [ATTR_DB_SYSTEM_NAME, "sqlite"]
327 ],
328 transformRows
329 })) as SqliteClient,
330 {
331 [TypeId]: TypeId as TypeId,
332 config: options,
333 backup: (destination: string) => Effect.flatMap(acquirer, (_) => _.backup(destination)),
334 loadExtension: (path: string) => Effect.flatMap(acquirer, (_) => _.loadExtension(path))
335 }
336 )
337 })

Callers

nothing calls this directly

Calls 6

makeFunction · 0.70
pipeMethod · 0.65
mapMethod · 0.65
makeMethod · 0.65
addMethod · 0.65
provideMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…