package sql3util

Import Path
	github.com/ncruces/go-sqlite3/util/sql3util (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files arg.go const.go parse.go Package sql3util implements SQLite utilities.
Package-Level Type Names (total 8)
/* sort by: | */
const CONFLICT_ABORT const CONFLICT_FAIL const CONFLICT_IGNORE const CONFLICT_NONE const CONFLICT_REPLACE const CONFLICT_ROLLBACK
const FKACTION_CASCADE const FKACTION_NOACTION const FKACTION_NONE const FKACTION_RESTRICT const FKACTION_SETDEFAULT const FKACTION_SETNULL
const ORDER_ASC const ORDER_DESC const ORDER_NONE
const ALTER_ADD_COLUMN const ALTER_DROP_COLUMN const ALTER_RENAME_COLUMN const ALTER_RENAME_TABLE const CREATE_TABLE const CREATE_UNKNOWN
Table holds metadata about a table. Columns []Column Comment string CurrentName string IsIfNotExists bool IsStrict bool IsTemporary bool IsWithoutRowID bool Name string NewName string Schema string Type StatementType func ParseTable(sql string) (_ *Table, err error)
Package-Level Functions (total 5)
NamedArg splits an named arg into a key and value, around an equals sign. Spaces are trimmed around both key and value.
ParseBool parses a boolean. https://sqlite.org/pragma.html#syntax
ParseTable parses a [CREATE] or [ALTER TABLE] command.
Unquote unquotes a string. https://sqlite.org/lang_keywords.html
ValidPageSize returns true if s is a valid page size. https://sqlite.org/fileformat.html#pages