sqlite

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InteractiveSetup

func InteractiveSetup(options KwArgs) error

func NewHandler

func NewHandler(options KwArgs) *db.Handler

Types

type Engine

type Engine struct{}

func NewEngine

func NewEngine() *Engine

func (*Engine) Connect

func (eng *Engine) Connect(options KwArgs) (*sql.DB, error)

func (*Engine) FormatSqlStmt

func (eng *Engine) FormatSqlStmt(stmt string) string

func (*Engine) GenTableSchema

func (eng *Engine) GenTableSchema(
	tblname db.TableName, meta db.TableMeta) ([]string, error)

func (*Engine) GetBackendName

func (eng *Engine) GetBackendName() string

func (*Engine) ListRetryErrors

func (eng *Engine) ListRetryErrors() []string

type KwArgs

type KwArgs = map[string]any

func InteractiveConfig

func InteractiveConfig(defaults KwArgs) (KwArgs, error)

Jump to

Keyboard shortcuts

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