Versions in this module Expand all Collapse all v1 v1.5.0 May 6, 2020 v1.4.0 Apr 10, 2020 v1.3.4 Mar 18, 2020 Changes in this version + const CHECK type ColumnDef + Checks []Expression + References *ForeignKeyClause + type ForeignKeyClause struct + Deferrable bool + ForeignColumns []string + ForeignTable string + InitiallyDeferred bool + Triggers []Trigger type TableForeignKey + Clause ForeignKeyClause v1.3.3 Mar 5, 2020 v1.3.2 Mar 5, 2020 v1.3.1 Mar 4, 2020 v1.3.0 Feb 12, 2020 Changes in this version + const ABORT + const CONFLICT + const FAIL + const IGNORE + const REPLACE + const ROLLBACK v1.2.0 Jan 31, 2020 Changes in this version + const DEFERRABLE + const DEFERRED + const INITIALLY type TableForeignKey + Deferrable bool + InitiallyDeferred bool v1.1.0 Dec 1, 2018 Changes in this version + const ACTION + const AND + const ASC + const AUTOINCREMENT + const CASCADE + const COLLATE + const CONSTRAINT + const CREATE + const DEFAULT + const DELETE + const DESC + const FOREIGN + const FROM + const GLOB + const IN + const INDEX + const IS + const KEY + const LIKE + const MATCH + const NO + const NOT + const NULL + const ON + const OR + const PRIMARY + const REFERENCES + const REGEXP + const RESTRICT + const ROWID + const SELECT + const SET + const TABLE + const UNIQUE + const UPDATE + const WHERE + const WITHOUT + func AsColumn(e Expression) string + func AsString(e Expression) string + func Parse(sql string) (interface{}, error) + type ColumnDef struct + AutoIncrement bool + Collate string + Default interface{} + Name string + Null bool + PrimaryKey bool + PrimaryKeyDir SortOrder + Type string + Unique bool + type CreateIndexStmt struct + Index string + IndexedColumns []IndexedColumn + Table string + Unique bool + Where Expression + type CreateTableStmt struct + Columns []ColumnDef + Constraints []TableConstraint + Table string + WithoutRowid bool + type ExBinaryOp struct + Left Expression + Op string + Right Expression + type ExColumn string + type ExFunction struct + Args []Expression + F string + type Expression interface + type IndexedColumn struct + Collate string + Column string + Expression string + SortOrder SortOrder + type SelectStmt struct + Columns []string + Table string + type SortOrder int + const Asc + const Desc + func (so SortOrder) String() string + type TableConstraint interface + type TableForeignKey struct + Columns []string + ForeignColumns []string + ForeignTable string + Triggers []Trigger + type TablePrimaryKey struct + IndexedColumns []IndexedColumn + type TableUnique struct + IndexedColumns []IndexedColumn + type Trigger interface + type TriggerAction int + const ActionCascade + const ActionNoAction + const ActionRestrict + const ActionSetDefault + const ActionSetNull + type TriggerOnDelete TriggerAction + type TriggerOnUpdate TriggerAction