connection_testing

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(t *testing.T, db connection.DB)

Cleanup deletes everything created for a test in the db

func DoTestConnector_Distinct added in v0.1.16

func DoTestConnector_Distinct(t *testing.T, newDB NewDB)

func DoTestConnector_DistinctAs added in v0.1.16

func DoTestConnector_DistinctAs(t *testing.T, newDB NewDB)

func DoTestConnector_ExecResult added in v0.1.17

func DoTestConnector_ExecResult(t *testing.T, newDB NewDB)

func DoTestConnector_Insert

func DoTestConnector_Insert(t *testing.T, newDB NewDB)

func DoTestConnector_InsertConstraint

func DoTestConnector_InsertConstraint(t *testing.T, newDB NewDB)

func DoTestConnector_MultiInsert

func DoTestConnector_MultiInsert(t *testing.T, newDB NewDB)

func DoTestConnector_Query

func DoTestConnector_Query(t *testing.T, newDB NewDB)

func DoTestConnector_QueryIter

func DoTestConnector_QueryIter(t *testing.T, newDB NewDB)

func DoTestConnector_QueryNoRows added in v0.1.17

func DoTestConnector_QueryNoRows(t *testing.T, newDB NewDB)

func DoTestConnector_QueryPrimitives

func DoTestConnector_QueryPrimitives(t *testing.T, newDB NewDB)

func DoTestConnector_QueryReflection added in v0.1.17

func DoTestConnector_QueryReflection(t *testing.T, newDB NewDB)

func DoTestConnector_QueryReturningWithError added in v0.1.17

func DoTestConnector_QueryReturningWithError(t *testing.T, newDB NewDB)

func DoTestConnector_QueryStar added in v0.1.17

func DoTestConnector_QueryStar(t *testing.T, newDB NewDB)

func DoTestConnector_Raw

func DoTestConnector_Raw(t *testing.T, newDB NewDB)

func DoTestConnector_Regression_Returning added in v0.1.16

func DoTestConnector_Regression_Returning(t *testing.T, newDB NewDB)

func DoTestConnector_Transaction

func DoTestConnector_Transaction(t *testing.T, newDB NewDB)

Types

type NewDB

type NewDB func(t *testing.T) connection.DB

Jump to

Keyboard shortcuts

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