Versions in this module Expand all Collapse all v0 v0.9.0 Nov 28, 2020 Changes in this version + const Binary + const Bit + const Blob + const Char + const Date + const Datetime + const Decimal + const Enum + const Expression + const Float32 + const Float64 + const Geometry + const Int16 + const Int24 + const Int32 + const Int64 + const Int8 + const Null + const Set + const Text + const Time + const Timestamp + const Tuple + const TypeJSON + const Uint16 + const Uint24 + const Uint32 + const Uint64 + const Uint8 + const VarBinary + const VarChar + const Year + var DontEscape = byte(255) + var NULL = Value + var SQLDecodeMap [256]byte + var SQLEncodeMap [256]byte + func IsBinary(t Type) bool + func IsFloat(t Type) bool + func IsIntegral(t Type) bool + func IsQuoted(t Type) bool + func IsSigned(t Type) bool + func IsText(t Type) bool + func IsUnsigned(t Type) bool + type BinWriter interface + Write func([]byte) (int, error) + type Flag int32 + const Flag_ISBINARY + const Flag_ISFLOAT + const Flag_ISINTEGRAL + const Flag_ISQUOTED + const Flag_ISTEXT + const Flag_ISUNSIGNED + const Flag_NONE + type Type int32 + const Type_BINARY + const Type_BIT + const Type_BLOB + const Type_CHAR + const Type_DATE + const Type_DATETIME + const Type_DECIMAL + const Type_ENUM + const Type_EXPRESSION + const Type_FLOAT32 + const Type_FLOAT64 + const Type_GEOMETRY + const Type_INT16 + const Type_INT24 + const Type_INT32 + const Type_INT64 + const Type_INT8 + const Type_JSON + const Type_NULL_TYPE + const Type_SET + const Type_TEXT + const Type_TIME + const Type_TIMESTAMP + const Type_TUPLE + const Type_UINT16 + const Type_UINT24 + const Type_UINT32 + const Type_UINT64 + const Type_UINT8 + const Type_VARBINARY + const Type_VARCHAR + const Type_YEAR + type Value struct + func MakeString(val []byte) Value + func MakeTrusted(typ Type, val []byte) Value + func (v Value) Bytes() []byte + func (v Value) EncodeASCII(b BinWriter) + func (v Value) EncodeSQL(b BinWriter) + func (v Value) Len() int + func (v Value) ParseFloat64() (val float64, err error) + func (v Value) ParseInt64() (val int64, err error) + func (v Value) ParseUint64() (val uint64, err error) + func (v Value) Raw() []byte + func (v Value) String() string + func (v Value) ToNative() interface{} + func (v Value) Type() Type