sqlite

package
v0.0.0-...-fe5e9aa Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLiteDatabase

func NewSQLiteDatabase(connectionString string) (db.Databaser, error)

Types

type SQLiteDatabase

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

func (*SQLiteDatabase) Close

func (d *SQLiteDatabase) Close() error

func (*SQLiteDatabase) CreateProblem

func (d *SQLiteDatabase) CreateProblem(ctx context.Context, problem *bandits.Problem) error

func (*SQLiteDatabase) DeleteProblem

func (d *SQLiteDatabase) DeleteProblem(ctx context.Context, id string) error

func (*SQLiteDatabase) GetProblem

func (d *SQLiteDatabase) GetProblem(ctx context.Context, id string) (*bandits.Problem, error)

func (*SQLiteDatabase) ListProblems

func (d *SQLiteDatabase) ListProblems(ctx context.Context) ([]*bandits.Problem, error)

func (*SQLiteDatabase) UpdateProblem

func (d *SQLiteDatabase) UpdateProblem(ctx context.Context, problem *bandits.Problem) error

Jump to

Keyboard shortcuts

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