sqlite3

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

View Source
const (
	SQLITE_INTEGER = 1
	SQLITE_FLOAT   = 2
	SQLITE3_TEXT   = 3
	SQLITE_BLOB    = 4
	SQLITE_NULL    = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteConn

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

func (*SQLiteConn) Backup

func (c *SQLiteConn) Backup(path string) error

func (*SQLiteConn) Begin

func (c *SQLiteConn) Begin() (driver.Tx, error)

func (*SQLiteConn) Close

func (c *SQLiteConn) Close() error

func (*SQLiteConn) Exec

func (c *SQLiteConn) Exec(query string, args []driver.Value) (rs driver.Result, err error)

func (*SQLiteConn) Prepare

func (c *SQLiteConn) Prepare(query string) (ds driver.Stmt, err error)

type SQLiteDriver

type SQLiteDriver struct {
}

func (*SQLiteDriver) Open

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

type SQLiteResult

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

func (*SQLiteResult) LastInsertId

func (r *SQLiteResult) LastInsertId() (int64, error)

func (*SQLiteResult) RowsAffected

func (r *SQLiteResult) RowsAffected() (int64, error)

type SQLiteRows

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

func (*SQLiteRows) Close

func (rc *SQLiteRows) Close() error

func (*SQLiteRows) Columns

func (rc *SQLiteRows) Columns() []string

func (*SQLiteRows) Next

func (rc *SQLiteRows) Next(dest []driver.Value) (err error)

type SQLiteStmt

type SQLiteStmt struct {
	ID string
	// contains filtered or unexported fields
}

func (*SQLiteStmt) Close

func (s *SQLiteStmt) Close() error

func (*SQLiteStmt) Exec

func (s *SQLiteStmt) Exec(args []driver.Value) (rs driver.Result, err error)

func (*SQLiteStmt) NumInput

func (s *SQLiteStmt) NumInput() int

func (*SQLiteStmt) Query

func (s *SQLiteStmt) Query(args []driver.Value) (rows driver.Rows, err error)

type SQLiteTx

type SQLiteTx struct {
	ID string
	// contains filtered or unexported fields
}

func (*SQLiteTx) Commit

func (tx *SQLiteTx) Commit() error

func (*SQLiteTx) Rollback

func (tx *SQLiteTx) Rollback() error

Jump to

Keyboard shortcuts

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