Documentation ¶ Index ¶ func QueryReturningById[T any](ctx context.Context, id string, query string, database *sql.DB, ...) (T, error) func WithTx[T any](ctx context.Context, database *sql.DB, txCaller tx_caller.TxCaller[T]) (T, error) 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. Source Files ¶ View all Source files sql.go Directories ¶ Show internal Expand all Path Synopsis testing types authorized_tx_caller cruder tx_authorizer tx_caller Click to show internal directories. Click to hide internal directories.