...

Package sqlite3_test

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

Overview ▾

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)

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
)