package sqlite3_test
import "github.com/mutecomm/go-sqlcipher/v4/sqlite3_test"
Index ¶
- func BenchmarkExec(b *testing.B)
- func BenchmarkParams(b *testing.B)
- func BenchmarkQuery(b *testing.B)
- func BenchmarkRows(b *testing.B)
- func BenchmarkStmt(b *testing.B)
- func BenchmarkStmtRows(b *testing.B)
- func RunTests(t *testing.T, d *sql.DB, dialect Dialect)
- func TestBlobs(t *testing.T)
- func TestManyQueryRow(t *testing.T)
- func TestPreparedStmt(t *testing.T)
- func TestResult(t *testing.T)
- func TestTxQuery(t *testing.T)
- type DB
- type Dialect
Functions ¶
func BenchmarkExec ¶
BenchmarkExec is benchmark for exec
func BenchmarkParams ¶
BenchmarkParams is benchmark for params
func BenchmarkQuery ¶
BenchmarkQuery is benchmark for query
func BenchmarkRows ¶
BenchmarkRows is benchmark for rows
func BenchmarkStmt ¶
BenchmarkStmt is benchmark for statement
func BenchmarkStmtRows ¶
BenchmarkStmtRows is benchmark for statement rows
func RunTests ¶
RunTests runs the SQL test suite
func TestBlobs ¶
TestBlobs is test for blobs
func TestManyQueryRow ¶
TestManyQueryRow is test for many query row
func TestPreparedStmt ¶
TestPreparedStmt is test for prepared statement
func TestResult ¶
TestResult is test for result
func TestTxQuery ¶
TestTxQuery is test for transactional query
Types ¶
type DB ¶
DB provide context for the tests
type Dialect ¶
type Dialect int
Dialect is a type of dialect of databases.
const ( SQLITE Dialect = iota // SQLITE mean SQLite3 dialect POSTGRESQL // POSTGRESQL mean PostgreSQL dialect MYSQL // MYSQL mean MySQL dialect )
Dialects for databases.
Source Files ¶
- Version
- v4.4.0
- Published
- Jul 23, 2020
- Platform
- darwin/amd64
- Imports
- 8 packages
- Last checked
- 2 hours ago –
Tools for package owners.