Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBer ¶
type DBer interface {
Exec(ctx context.Context, sql string, args ...any) (ports.DatabaseResult, error)
Query(ctx context.Context, sql string, args ...any) (ports.DatabaseRows, error)
QueryRow(ctx context.Context, sql string, args ...any) ports.DatabaseRow
}
DBer is satisfied by transactions and the pool facade below.
Click to show internal directories.
Click to hide internal directories.