Versions in this module Expand all Collapse all v0 v0.9.0 Nov 10, 2026 Changes in this version + type Counter struct + func Attach(t testing.TB) *Counter + func (c *Counter) Events() []Event + func (c *Counter) FailMatching(fragment string, err error) + func (c *Counter) FailNextRollback(err error) + func (c *Counter) FailNthMatching(fragment string, n int, err error) + func (c *Counter) Matching(fragment string) int + func (c *Counter) Reset() + func (c *Counter) RunBeforeMatching(fragment string, n int, fn func()) + func (c *Counter) Statements() []string + type Event struct + Isolation sql.IsolationLevel + Kind Kind + ReadOnly bool + Statement string + type Kind string + const KindBegin + const KindCommit + const KindRollback + const KindStatement