Documentation
¶
Index ¶
- Variables
- func DumpRows(rows *sql.Rows)
- func QueryDump(dbi any, qry string, args ...any)
- func QueryInt(dbi CtxQuerier, qry string, args ...any) (result int)
- func QueryString(dbi CtxQuerier, qry string, args ...any) (result string)
- func QueryTime(dbi CtxQuerier, qry string, args ...any) (result time.Time)
- type CtxExecer
- type CtxQuerier
- type Fixture
- type MapRow
- type MapRows
- type Row
- type Rows
- type StdoutLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var SQL = sqlcode.MustInclude( sqlcode.Options{}, sqlfs, )
Functions ¶
func QueryString ¶
func QueryString(dbi CtxQuerier, qry string, args ...any) (result string)
Types ¶
type CtxQuerier ¶
type Fixture ¶
func NewFixture ¶
func NewFixture() *Fixture
func (*Fixture) RunMigrationFile ¶
func (*Fixture) RunMigrations ¶
func (f *Fixture) RunMigrations()
type MapRows ¶
type MapRows []MapRow
type StdoutLogger ¶
type StdoutLogger struct {
}
func (StdoutLogger) Printf ¶
func (s StdoutLogger) Printf(format string, v ...any)
func (StdoutLogger) Println ¶
func (s StdoutLogger) Println(v ...any)
Click to show internal directories.
Click to hide internal directories.