Documentation
¶
Overview ¶
Package sqliteconn opens SQLite connections that run a fixed set of statements, usually pragmas, on every connection the pool opens. It has no Shisho imports, so both pkg/database and pkg/testutils/testdb can use it.
Pragmas such as foreign_keys and busy_timeout apply only to the connection that ran them. database/sql discards a connection whose query is canceled mid-statement and opens a replacement with SQLite's defaults, so running them once at startup is not enough.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.