package
0.0.0-20211115110103-d6f26fb2ff89
Repository: https://github.com/fengleng/sqlparser.git
Documentation: pkg.go.dev
# Functions
IsBinary returns true if querypb.Type is a binary.
IsFloat returns true is querypb.Type is a floating point.
IsIntegral returns true if querypb.Type is an integral (signed/unsigned) that can be represented using up to 64 binary bits.
IsQuoted returns true if querypb.Type is a quoted text or binary.
IsSigned returns true if querypb.Type is a signed integral.
IsText returns true if querypb.Type is a text.
IsUnsigned returns true if querypb.Type is an unsigned integral.
MakeString makes a VarBinary Value.
MakeTrusted makes a new Value based on the type.
# Constants
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
BINARY specifies a BINARY type.
BIT specifies a BIT type.
BLOB specifies a BLOB type.
CHAR specifies a CHAR type.
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.
GEOMETRY specifies a GEOMETRY type.
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.
JSON specifies a JSON type.
NULL_TYPE specifies a NULL type.
SET specifies a SET type.
TEXT specifies a TEXT type.
TIME specifies a TIME type.
TIMESTAMP specifies a TIMESTAMP type.
TUPLE specifies a a tuple.
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.
VARBINARY specifies a VARBINARY type.
VARCHAR specifies a VARCHAR type.
YEAR specifies a YEAR type.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
Vitess data types.
# Variables
DontEscape tells you if a character should not be escaped.
NULL represents the NULL value.
SQLDecodeMap is the reverse of SQLEncodeMap.
SQLEncodeMap specifies how to escape binary data with '\'.
# Interfaces
BinWriter interface is used for encoding values.