sql

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryReturningById

func QueryReturningById[T any](
	ctx context.Context,
	id string,
	query string,
	database *sql.DB,
	rowParser parser.ParserCtx[T, *sql.Row],
) (T, error)

func WithTx

func WithTx[T any](
	ctx context.Context,
	database *sql.DB,
	txCaller tx_caller.TxCaller[T],
) (T, error)

Types

This section is empty.

Directories

Path Synopsis
Package postgres reads PostgreSQL-specific values and errors through database/sql without requiring a driver dependency.
Package postgres reads PostgreSQL-specific values and errors through database/sql without requiring a driver dependency.
types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL