Versions in this module Expand all Collapse all v0 v0.5.3 Oct 26, 2023 Changes in this version + func DropAllTables(db *sql.DB, tbs []string) error + func ImportCSV2DB(db *sql.DB, file string) (string, error) + func ImportTable(db *sql.DB, tb *Table) error + func ShowTables(db *sql.DB) ([]string, error) + type Column struct + Name string + Type string + type Header []Column + func (d Header) Columns() []string + func (d Header) Types() []string + type QueryResult []string + func Query(db *sql.DB, query string) ([]QueryResult, error) + func (q QueryResult) Convert2AnyArray() []any + type Schema struct + Cid interface{} + ColType string + DfltValue interface{} + Name string + Notnull interface{} + Pk interface{} + func SQLiteTableInfo(db *sql.DB, table string) ([]Schema, error) + type Table struct + Data [][]any + Header Header + Name string + func Parse(file string) (*Table, error)