schemabletest

package
v0.0.0-...-ea859f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ComicTitles = schemable.Bind[ComicTitle]("comic_titles")

Functions

func QueryLogger

func QueryLogger(t *testing.T) schemable.QueryLogger

func RecorderTests

func RecorderTests(t *testing.T, ctx context.Context)

func Run

func Run(t *testing.T, c *schemable.DBClient)

func SchemerTests

func SchemerTests(t *testing.T, ctx context.Context)

func TransactionTests

func TransactionTests(t *testing.T, dc *schemable.DBClient)

Types

type ComicTitle

type ComicTitle struct {
	ID      int64  `db:"id, PRIMARY KEY, AUTO INCREMENT"`
	ID2     int64  `db:"id_two, PRIMARY KEY"`
	Name    string `db:"name"`
	Volume  int    `db:"volume"`
	Ignored string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL