Versions in this module Expand all Collapse all v0 v0.1.1 Jan 2, 2022 Changes in this version + var ErrPrimaryKeyOnNullField = errors.NewKind("All parts of PRIMARY KEY must be NOT NULL") + func ExprToExpression(ctx *sql.Context, e sqlparser.Expr) (sql.Expression, error) + func ExpressionToColumnDefaultValue(ctx *sql.Context, inputExpr sql.Expression, isLiteral bool) (*sql.ColumnDefaultValue, error) + func MustStringToColumnDefaultValue(ctx *sql.Context, exprStr string, outType sql.Type, nullable bool) *sql.ColumnDefaultValue + func Parse(ctx *sql.Context, query string) (sql.Node, error) + func ParseColumnTypeString(ctx *sql.Context, columnType string) (sql.Type, error) + func ParseOne(ctx *sql.Context, query string) (sql.Node, string, string, error) + func StringToColumnDefaultValue(ctx *sql.Context, exprStr string) (*sql.ColumnDefaultValue, error) + func TableSpecToSchema(ctx *sql.Context, tableSpec *sqlparser.TableSpec) (sql.PrimaryKeySchema, error)