sqlite3

package
v0.16.11 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(config database.Config) (database.Database, error)

Types

type Sqlite3Database

type Sqlite3Database struct {
	// contains filtered or unexported fields
}

func (*Sqlite3Database) Close

func (d *Sqlite3Database) Close() error

func (*Sqlite3Database) DB

func (d *Sqlite3Database) DB() *sql.DB

func (*Sqlite3Database) DumpDDLs added in v0.11.58

func (d *Sqlite3Database) DumpDDLs() (string, error)

func (*Sqlite3Database) DumpTableDDL

func (d *Sqlite3Database) DumpTableDDL(table string) (string, error)

func (*Sqlite3Database) GetDefaultSchema added in v0.15.13

func (d *Sqlite3Database) GetDefaultSchema() string

Jump to

Keyboard shortcuts

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