sqlite3

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: BSD-3-Clause Imports: 9 Imported by: 2

README

sqlite3

About this package

 This package is a stitching monster, and passes some basic tests of ent It use modernc.org/sqlite package, and integrates the PRAGMA part of modernc.org/sqlite's Open().

LICENSE

Used BSD-3-Clause is same as modernc.org/sqlite

Documentation

Index

Constants

View Source
const Version = "v1.29.6"

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteConn

type SQLiteConn interface {
	Ping(ctx context.Context) error
	BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error)
	PrepareContext(ctx context.Context, query string) (driver.Stmt, error)
	ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
	QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
	Begin() (driver.Tx, error)
	Close() error
	Exec(query string, args []driver.Value) (driver.Result, error)
	Prepare(query string) (driver.Stmt, error)
	Query(query string, args []driver.Value) (driver.Rows, error)
}

type SQLiteDriver

type SQLiteDriver struct {
	// contains filtered or unexported fields
}

func (SQLiteDriver) Open

func (d SQLiteDriver) Open(dsn string) (driver.Conn, error)

Directories

Path Synopsis
test
ent

Jump to

Keyboard shortcuts

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