package sqlextended
import "github.com/pressly/goose/v3/internal/sqlextended"
Index ¶
Types ¶
type DBTxConn ¶
type DBTxConn 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 }
DBTxConn is a thin interface for common method that is satisfied by *sql.DB, *sql.Tx and *sql.Conn.
There is a long outstanding issue to formalize a std lib interface, but alas... See: https://github.com/golang/go/issues/14468
Source Files ¶
- Version
- v3.15.1
- Published
- Oct 10, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 hours ago –
Tools for package owners.