Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockDriver ¶ added in v1.39.0
type MockDriver struct { Prepared []string Executed []string // Hook is an optional function to run during a DB operation Hook func() }
MockDriver implements a mock driver that captures and stores prepared and executed statements
Click to show internal directories.
Click to hide internal directories.