Versions in this module Expand all Collapse all v0 v0.6.1 Jun 12, 2020 Changes in this version + var ErrInvalidIndexPrefix = errors.NewKind("invalid index prefix: %v") + var ErrInvalidSQLValType = errors.NewKind("invalid SQLVal of type: %d") + var ErrInvalidSortOrder = errors.NewKind("invalid sort order: %s") + var ErrUnknownConstraintDefinition = errors.NewKind("unknown constraint definition: %s, %T") + var ErrUnknownIndexColumn = errors.NewKind("unknown column: '%s' in %s index '%s'") + var ErrUnsupportedFeature = errors.NewKind("unsupported feature: %s") + var ErrUnsupportedSyntax = errors.NewKind("unsupported syntax: %s") + func Parse(ctx *sql.Context, query string) (sql.Node, error) + func TableSpecToSchema(ctx *sql.Context, tableSpec *sqlparser.TableSpec) (sql.Schema, error)