sqlite

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseSQLite

func UseSQLite()

Types

type Config added in v0.8.0

type Config struct {
	Path string
}

func NewConfig added in v0.8.0

func NewConfig(path string) *Config

func (*Config) DataSourceName added in v0.8.0

func (c *Config) DataSourceName() string

func (*Config) DriverName added in v0.8.0

func (c *Config) DriverName() string

func (*Config) SetDialect added in v0.8.0

func (c *Config) SetDialect()

type SQLite

type SQLite struct{}

func (*SQLite) AutoIncrement added in v0.5.2

func (*SQLite) AutoIncrement() string

func (*SQLite) Binding

func (*SQLite) Binding() string

func (*SQLite) CurrentTime

func (*SQLite) CurrentTime() string

func (*SQLite) DataType

func (*SQLite) DataType(t dialects.DataType) string

func (*SQLite) Escape

func (s *SQLite) Escape(v any) string

func (*SQLite) Identifier

func (*SQLite) Identifier(s string) string

Jump to

Keyboard shortcuts

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