sqlitestore

package
v0.0.0-...-dab71c7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrZeroRowsAffected indicates that no rows were affected by the operation
	ErrZeroRowsAffected = errors.New("no rows affected by operation")
)

Functions

func CheckForZeroRowsAffected

func CheckForZeroRowsAffected(r sql.Result, err error) error

CheckForZeroRowsAffected ensures that if zero rows are affected by operations that should have side-effects, an error is returned.

func New

func New(dbSpec string) (store.Store, error)

New creates a new SQLite backed Store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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