Versions in this module Expand all Collapse all v1 v1.2.0 Oct 15, 2023 Changes in this version + type DB struct + Name string + func (d *DB) CreateDB(filepath string) (*sql.DB, error) + func (d *DB) DBFileExists(dbPath string) error + type DBClient struct + func (d *DBClient) RunSQL(statement string) error + type Operator interface + CreateDB func(filepath string) (*sql.DB, error) + DBFileExists func(dbPath string) error + func NewDBOperator(ctx context.Context, dbName string) Operator + type SQLRunner interface + RunSQL func(statement string) error + func NewDBClient(ctx context.Context, l o11y.LoggerInterface, dbFilePath string, ...) (SQLRunner, error)