Documentation
¶
Overview ¶
Package stdmigrate provides some utilities for more readable migrations code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tx ¶
type Tx interface { ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error) QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row }
Tx interface narrows what we allow to be used for migrations.
Click to show internal directories.
Click to hide internal directories.