sqlite

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSqliteDatabase

func NewSqliteDatabase(c definition.Config, name string) (definition.Database, error)

Types

type Database

type Database struct {
	Path string
	// contains filtered or unexported fields
}

func (*Database) Apply

func (d *Database) Apply(f func(db *sql.DB) error) error

func (*Database) Connect

func (d *Database) Connect() error

func (*Database) Disconnect

func (d *Database) Disconnect() error

Jump to

Keyboard shortcuts

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