sqlite3

package
v0.0.0-...-72e95c1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DriverName = "sqlite3"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DSN  string
	Conn drive.IConnPool
}

type Dialect

type Dialect struct {
	*Config
}

func Open

func Open(dsn string) *Dialect

func (*Dialect) DataTypeOf

func (dialect *Dialect) DataTypeOf(field *schema.Field) (fieldType string)

func (*Dialect) GetDSN

func (dialect *Dialect) GetDSN() string

func (*Dialect) Init

func (dialect *Dialect) Init() (connPool drive.IConnPool, err error)

func (*Dialect) Migrate

func (dialect *Dialect) Migrate(d schema.IDBParse) schema.IMigrator

func (*Dialect) Name

func (dialect *Dialect) Name() string

Jump to

Keyboard shortcuts

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