sqlite

package
v0.0.0-...-cb2066d Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteFile

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

func Open

func Open(dsn string) (*SQLiteFile, error)

Open uses the database source name to connect to a database. See the following for more information: - https://github.com/mattn/go-sqlite3?tab=readme-ov-file#connection-string - https://en.wikipedia.org/wiki/Data_source_name

func (*SQLiteFile) Exec

func (slite *SQLiteFile) Exec(query string, args ...any) (sql.Result, error)

func (*SQLiteFile) Prepare

func (slite *SQLiteFile) Prepare(query string) (*sql.Stmt, error)

func (*SQLiteFile) Query

func (slite *SQLiteFile) Query(query string, args ...any) (*sql.Rows, error)

Jump to

Keyboard shortcuts

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