Versions in this module Expand all Collapse all v1 v1.0.1 Jul 26, 2026 v1.0.0 Jul 26, 2026 Changes in this version + const EXPLAIN + const FetchLimit + const PRAGMA + const SELECT + const VALUES + const WITH + func GetDbFile() string + type Backend struct + func Connect(cfg Config) (*Backend, error) + func (b *Backend) Close() error + func (b *Backend) ColumnIndexTypes(_ string, table string) (map[string]string, error) + func (b *Backend) ColumnsMeta(_ string, table string) ([]db.ColumnMeta, error) + func (b *Backend) FetchTable(_ string, table string, limit int) (*data.Frame, error) + func (b *Backend) Kind() string + func (b *Backend) Namespaces() ([]string, error) + func (b *Backend) PrimaryKeys(_ string, table string) ([]string, error) + func (b *Backend) Run(stmt string) (db.Result, error) + func (b *Backend) Tables(string) ([]string, error) + func (b *Backend) Title() string + type Config struct + FilePath string + type DB struct + File string + var DbClinet *DB + func GetDB() *DB + func NewDB(file string) (*DB, error) + func (db *DB) Close() error + func (db *DB) ColumnIndexTypes(table string) (map[string]string, error) + func (db *DB) ColumnsMeta(table string) ([]dbapi.ColumnMeta, error) + func (db *DB) FetchTableFields(table string) ([]string, error) + func (db *DB) FetchTableRecords(table string) ([][]string, error) + func (db *DB) ListPrimaryKeys(table string) ([]string, error) + func (db *DB) ListTables() ([]string, error) + func (db *DB) RawExec(query string) (sql.Result, error) + func (db *DB) RawQuery(query string) (fields []string, records [][]string, err error) + func (db *DB) RawSqlCommand(query string) (rawCmdResult RawCommandResult, err error) + type RawCommandResult struct + Fields []string + IsDQL bool + Records [][]string + Result sql.Result