Documentation ¶
Index ¶
- Constants
- func NewSQLite3(dsn string) (sqldatabase.Engine, error)
- type SQLite3
- func (m SQLite3) Close() error
- func (m SQLite3) Dialect() string
- func (m SQLite3) Query(ctx context.Context, query string, args ...any) ([]string, [][]string, error)
- func (m SQLite3) TableInfo(ctx context.Context, table string) (string, error)
- func (m SQLite3) TableNames(ctx context.Context) ([]string, error)
Constants ¶
View Source
const EngineName = "sqlite3"
Variables ¶
This section is empty.
Functions ¶
func NewSQLite3 ¶
func NewSQLite3(dsn string) (sqldatabase.Engine, error)
NewSQLite3 creates a new SQLite3 engine. The dsn is the data source name.(e.g. file:locked.sqlite?cache=shared).
Types ¶
Click to show internal directories.
Click to hide internal directories.