Versions in this module Expand all Collapse all v0 v0.4.22 Dec 1, 2026 Changes in this version + const NonRepeatable + const SyntaxError + const UndefinedColumn + type FakeLedgerDB struct + Log []string + Ran map[string]int + Rows map[string]bool + Table bool + Tables bool + func NewFakeLedgerDB() *FakeLedgerDB + func (f *FakeLedgerDB) Exec(_ context.Context, sql string, args ...any) (pgconn.CommandTag, error) + func (f *FakeLedgerDB) Query(context.Context, string, ...any) (pgx.Rows, error) + func (f *FakeLedgerDB) QueryRow(_ context.Context, _ string, args ...any) pgx.Row + func (f *FakeLedgerDB) RunTx(_ context.Context, fn func(q db.Querier) error) error v0.4.21 Nov 27, 2026 Changes in this version + func AssertPanics(t testing.TB, fn func(), msgFmt string, args ...any)