( config: SqliteClientConfig )
| 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 | }) |