Documentation
¶
Overview ¶
Package sqlite implements xmigrator using an application's database/sql SQLite engine. It deliberately does not import or register an engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ReadHistorySnapshot ¶
func (*Driver) SQLDialect ¶
type Tx ¶
type Tx interface {
ExecContext(context.Context, string, ...any) (sql.Result, error)
QueryContext(context.Context, string, ...any) (*sql.Rows, error)
QueryRowContext(context.Context, string, ...any) *sql.Row
PrepareContext(context.Context, string) (*sql.Stmt, error)
}
Tx is a pinned connection executor. Only the driver controls commit and rollback.
Click to show internal directories.
Click to hide internal directories.