sqlite

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func NewWithContext

func NewWithContext(_ context.Context, storagePath string) (*Storage, error)

func (*Storage) Check

func (s *Storage) Check() (interface{}, error)

func (*Storage) ExecContext

func (s *Storage) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error)

func (*Storage) Prepare

func (s *Storage) Prepare(query string) (*sql.Stmt, error)

func (*Storage) Stop

func (s *Storage) Stop() error

Jump to

Keyboard shortcuts

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