sqlite3_test

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2015 License: MIT, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkExec

func BenchmarkExec(b *testing.B)

func BenchmarkParams

func BenchmarkParams(b *testing.B)

func BenchmarkQuery

func BenchmarkQuery(b *testing.B)

func BenchmarkRows

func BenchmarkRows(b *testing.B)

func BenchmarkStmt

func BenchmarkStmt(b *testing.B)

func BenchmarkStmtRows

func BenchmarkStmtRows(b *testing.B)

func RunTests

func RunTests(t *testing.T, d *sql.DB, dialect Dialect)

RunTests runs the SQL test suite

func TestBlobs

func TestBlobs(t *testing.T)

func TestManyQueryRow

func TestManyQueryRow(t *testing.T)

func TestPreparedStmt

func TestPreparedStmt(t *testing.T)

func TestResult

func TestResult(t *testing.T)

func TestTxQuery

func TestTxQuery(t *testing.T)

Types

type DB

type DB struct {
	*testing.T
	*sql.DB
	// contains filtered or unexported fields
}

type Dialect

type Dialect int
const (
	SQLITE Dialect = iota
	POSTGRESQL
	MYSQL
)

Jump to

Keyboard shortcuts

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