Documentation
¶
Overview ¶
Package reservationdb owns isolated live MySQL/PostgreSQL acceptance fixtures. It never substitutes another product when a requested server is unavailable.
Index ¶
- type Database
- func (h *Database) Count(t testing.TB, table string) int
- func (h *Database) CreateRecords(t testing.TB)
- func (h *Database) Exec(t testing.TB, statements ...string)
- func (h *Database) Other(t testing.TB) *sql.DB
- func (h *Database) Quote(name string) string
- func (h *Database) SeedIDSQL(id int64) string
- func (h *Database) Table(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func OpenTransient ¶
OpenTransient creates source fixtures without provisioning an allocator table.
func (*Database) CreateRecords ¶
Click to show internal directories.
Click to hide internal directories.