sqlite3

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const DriverName = "sqlite3"

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	// Data source name
	DSN string `yaml:"dsn" conf:"required,example=\":memory:?_fk=true\""`
}

Conf is required (if driver is set to 'sqlite3') configuration for sqlite3 driver. +desc=This section is required only if storage.driver is sqlite3.

func (*Conf) Key

func (c *Conf) Key() string

type Store

type Store struct {
	internal.DBStorage
}

func NewStore

func NewStore(ctx context.Context, conf *Conf) (*Store, error)

func (*Store) Driver

func (s *Store) Driver() string

Jump to

Keyboard shortcuts

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