sqlite

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() dialects.Dialect

func UseSQLite

func UseSQLite()

Types

type Config

type Config struct {
	Path string
}

func NewConfig

func NewConfig(path string) *Config

func (*Config) DataSourceName

func (c *Config) DataSourceName() string

func (*Config) DriverName

func (c *Config) DriverName() string

type SQLiteCore

type SQLiteCore struct{}

func (*SQLiteCore) AutoIncrement

func (*SQLiteCore) AutoIncrement() string

func (*SQLiteCore) Binding

func (*SQLiteCore) Binding() string

func (*SQLiteCore) CurrentTime

func (*SQLiteCore) CurrentTime() string

func (*SQLiteCore) DataType

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

func (*SQLiteCore) Escape

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

func (*SQLiteCore) Features

func (s *SQLiteCore) Features() dialects.Features

func (*SQLiteCore) Identifier

func (*SQLiteCore) Identifier(s string) string

Jump to

Keyboard shortcuts

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