Documentation
¶
Overview ¶
Package db opens the pipeline-analytics SQLite database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open opens the SQLite database at path (or ":memory:") with the pragmas pipeline-analytics needs: foreign keys enforced, and a busy timeout so concurrent writers back off instead of failing immediately.
The pool is capped at a single connection: SQLite serializes writers regardless, and a ":memory:" DSN backs a separate, empty database per connection under database/sql's pool -- a second pooled connection would silently see none of the first connection's tables or data.
Types ¶
This section is empty.