# Functions
GetTableName returns the table name when the specified TableExpr is a known type.
NewBigIntColumnWithValue returns a big int column with the specified value.
NewBinaryColumnWithValue returns a binary column with the specified value.
NewColumn returns a new column.
NewColumns returns a null columns.
NewColumnsWithColumns returns a columns with the specified columns.
NewColumnWithColumnDefinition returns a column with the specified vitess column definition.
NewColumnWithName returns a column with the specified name.
NewColumnWithNameAndType returns a column with the specified name and type.
NewColumnWithNameAndValue returns a column with the specified name and value.
NewColumnWithTypeAndValue returns a column with the specified type and value.
NewColumnWithValue returns a column with the specified value.
NewDatabase returns a new database.
NewDatabaseWithDBDDL returns a new database with the specified DBDDL.
NewDatabaseWithName returns a new database with the specified string.
NewDateColumnWithValue returns a date column with the specified value.
NewDatetimeColumnWithValue returns a date column with the specified value.
NewDeleteWithDelete creates a delete statement from the raw query.
NewDeleteWithName creates a delete statement from the table name.
NewDoubleColumnWithValue returns a double column with the specified value.
NewFloatColumnWithValue returns a float column with the specified value.
NewInsertWithInsert creates a insert statement from the raw query.
NewIntegerColumnWithValue returns an integer column with the specified value.
NewNullColumn returns a null column.
NewParser returns a new Parser instance.
NewRow return a row instance.
NewRows returns a row array.
NewRowsWithRows returns a row array with the specified rows.
NewRowWithColumns return a row instance with the specified columns.
NewRowWithInsert return a row instance with the specified INSERT statement.
NewSchemaWithDDL returns a schema with the specified DDL.
NewSchemaWithName returns a schema with the specified table name.
NewSelectWithSelect creates a select statement from the raw query.
NewShortIntColumnWithValue returns a short int column with the specified value.
NewTablesWitExprs returns a tables with the specified expressions.
NewTableWitExpr returns a table with the specified expression.
NewTextColumnWithValue returns a text column with the specified value.
NewTimeColumnWithValue returns a time column with the specified value.
NewTimestampColumnWithValue returns a timestamp column with the specified value.
NewTinyIntColumnWithValue returns a tiny int column with the specified value.
NewUpdateWithUpdate creates a insert statement from the raw query.
NewValue creates a query value .
NewValueWith creates a query value with the specified type.
# Constants
BINARY specifies a BINARY type.
BIT specifies a BIT type.
No description provided by the author
BLOB specifies a BLOB type.
CHAR specifies a CHAR type.
NOTE: TestSchemaFindColumn checks whether ColKeyPrimary equals vt.sqlparser.colKeyPrimary because it is an internal constant variable.
DATE specifies a DATE type.
DATETIME specifies a DATETIME type.
DECIMAL specifies a DECIMAL or NUMERIC type.
ENUM specifies an ENUM type.
EXPRESSION specifies a SQL expression.
FLOAT32 specifies a FLOAT type.
FLOAT64 specifies a DOUBLE or REAL type.
No description provided by the author
GEOMETRY specifies a GEOMETRY type.
No description provided by the author
No description provided by the author
INT16 specifies a SMALLINT type.
INT24 specifies a MEDIUMINT type.
INT32 specifies a INTEGER type.
INT64 specifies a BIGINT type.
INT8 specifies a TINYINT type.
No description provided by the author
No description provided by the author
NULL_TYPE specifies a NULL type.
SET specifies a SET type.
No description provided by the author
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
These constants are used to identify the SQL statement type.
No description provided by the author
TEXT specifies a TEXT type.
TIME specifies a TIME type.
TIMESTAMP specifies a TIMESTAMP type.
JSON specifies a JSON type.
UINT16 specifies a SMALLINT UNSIGNED type.
UINT24 specifies a MEDIUMINT UNSIGNED type.
UINT32 specifies a INTEGER UNSIGNED type.
UINT64 specifies a BIGINT UNSIGNED type.
UINT8 specifies a TINYINT UNSIGNED type.
Vitess data types.
VARBINARY specifies a VARBINARY type.
VARCHAR specifies a VARCHAR type.
YEAR specifies a YEAR type.
# Structs
Column represents a column.
Columns represents a column array.
Database represents a destination or source database of query.
Delete represents a DELETE statement.
Insert represents an INSERT or REPLACE statement.
Parser represents a SQL parser.
Row represents a row object which includes query execution results.
Rows represents a row array.
Schema represents a table schema.
Select represents an SELECT statement.
Table represents a destination or source database of query.
Update represents an INSERT or REPLACE statement.
Value represents a query value.
# Type aliases
AccessMode is ReadOnly/ReadWrite.
AndExpr represents an AND expression.
Begin represents a Begin statement.
Characteristic is a transaction related change.
ColName represents a column name.
ColumnDefinition describes a column in a CREATE TABLE statement.
Type defines the various supported data types in bind vars and query results.
Commit represents a Commit statement.
ComparisonExpr represents a two-value comparison expression.
Condition represents a WHERE or HAVING clause.
DBDDL represents a CREATE, DROP, or ALTER database statement.
DDL represents a CREATE, ALTER, DROP, RENAME, TRUNCATE or ANALYZE statement.
Explain represents an EXPLAIN statement.
Expr represents an expression.
Field represents a field.
IndexDefinition describes an index in a CREATE TABLE statement.
IsolationLevel is self-explanatory in this context.
Condition represents a WHERE or HAVING clause.
Literal represents a fixed value.
NotExpr represents a NOT expression.
Order represents an ordering expression.
OrderBy represents an ORDER By clause.
OrExpr represents an OR expression.
RangeCond represents a BETWEEN or a NOT BETWEEN expression.
Rollback represents a Rollback statement.
SelectStatement any SELECT statement.
Set represents a SET statement.
SetTransaction represents a SET TRANSACTION statement.
Show represents a show statement.
SQLType defines the various supported data types in bind vars.
SQLVal represents a single value.
Statement represents a query statement.
StatementType encodes the type of a SQL statement.
Stream represents a SELECT statement.
Tables represents a table array.
Union represents a UNION statement.
UpdateExprs represents a list of update expressions.
Use represents a use statement.
ValTuple represents a tuple of actual values.
ValType specifies the type for SQLVal.
XorExpr represents an XOR expression.