Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB represents an SQLite database.
func (*DB) BeginTx ¶
BeginTx starts a transaction using the read-write database connection and returns a Tx.
func (*DB) Open ¶
Open opens reading and writing database connections and executes any database migrations.
func (*DB) QueryContext ¶
QueryContext executes a query that returns rows using the read-only database connection.
type MainDB ¶
type MainDB struct {
DB
}
MainDB represents the SQLite database where permanent data is stored.
Click to show internal directories.
Click to hide internal directories.