package sqlite3_test

import "github.com/mattn/go-sqlite3/sqlite3_test"

Index

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
)

Source Files

sqltest.go

Version
v1.2.0
Published
Nov 11, 2016
Platform
js/wasm
Imports
8 packages
Last checked
1 day ago

Tools for package owners.