Documentation ¶
Index ¶
- func DecodeGeometry[T orb.MultiPoint | orb.LineString | orb.MultiLineString](p T)
- func New() *mySQL
- type DefaultDecoders
- func (dec DefaultDecoders) DecodeArray(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeBool(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeByte(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeCurrency(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeDate(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeDateTime(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeFloat(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeInt(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeJsonRaw(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeLanguage(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeLineString(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeMap(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodePoint(it any, v reflect.Value) error
- func (dec *DefaultDecoders) DecodePtr(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeRawBytes(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeString(it any, v reflect.Value) error
- func (dec *DefaultDecoders) DecodeStruct(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeTime(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeTimeLocation(it any, v reflect.Value) error
- func (dec DefaultDecoders) DecodeUUID(it any, v reflect.Value) (err error)
- func (dec DefaultDecoders) DecodeUint(it any, v reflect.Value) error
- type DefaultEncoders
- func (enc DefaultEncoders) EncodeArray(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeBool(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeByte(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeDateTime(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeFloat(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeInt(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeJsonRaw(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeMap(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc *DefaultEncoders) EncodePtr(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeRawBytes(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeSpatial(t spatial.Type) db.ValueEncoder
- func (enc DefaultEncoders) EncodeString(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeStringer(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeStruct(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeTime(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeUUID(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
- func (enc DefaultEncoders) EncodeUint(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeGeometry ¶
func DecodeGeometry[T orb.MultiPoint | orb.LineString | orb.MultiLineString](p T)
Types ¶
type DefaultDecoders ¶
type DefaultDecoders struct {
// contains filtered or unexported fields
}
DefaultDecoders :
func (DefaultDecoders) DecodeArray ¶
func (dec DefaultDecoders) DecodeArray(it any, v reflect.Value) error
DecodeArray :
func (DefaultDecoders) DecodeBool ¶
func (dec DefaultDecoders) DecodeBool(it any, v reflect.Value) error
DecodeBool :
func (DefaultDecoders) DecodeByte ¶
func (dec DefaultDecoders) DecodeByte(it any, v reflect.Value) error
DecodeByte :
func (DefaultDecoders) DecodeCurrency ¶
func (dec DefaultDecoders) DecodeCurrency(it any, v reflect.Value) error
DecodeCurrency :
func (DefaultDecoders) DecodeDate ¶
func (dec DefaultDecoders) DecodeDate(it any, v reflect.Value) error
DecodeDate :
func (DefaultDecoders) DecodeDateTime ¶
func (dec DefaultDecoders) DecodeDateTime(it any, v reflect.Value) error
DecodeDateTime :
func (DefaultDecoders) DecodeFloat ¶
func (dec DefaultDecoders) DecodeFloat(it any, v reflect.Value) error
DecodeFloat :
func (DefaultDecoders) DecodeInt ¶
func (dec DefaultDecoders) DecodeInt(it any, v reflect.Value) error
DecodeInt :
func (DefaultDecoders) DecodeJsonRaw ¶
func (dec DefaultDecoders) DecodeJsonRaw(it any, v reflect.Value) error
DecodeJSONRaw :
func (DefaultDecoders) DecodeLanguage ¶
func (dec DefaultDecoders) DecodeLanguage(it any, v reflect.Value) error
DecodeLanguage :
func (DefaultDecoders) DecodeLineString ¶
func (dec DefaultDecoders) DecodeLineString(it any, v reflect.Value) error
DecodeLineString :
func (DefaultDecoders) DecodeMap ¶
func (dec DefaultDecoders) DecodeMap(it any, v reflect.Value) error
DecodeMap :
func (DefaultDecoders) DecodePoint ¶
func (dec DefaultDecoders) DecodePoint(it any, v reflect.Value) error
DecodePoint :
func (*DefaultDecoders) DecodePtr ¶
func (dec *DefaultDecoders) DecodePtr(it any, v reflect.Value) error
DecodePtr :
func (DefaultDecoders) DecodeRawBytes ¶
func (dec DefaultDecoders) DecodeRawBytes(it any, v reflect.Value) error
DecodeRawBytes :
func (DefaultDecoders) DecodeString ¶
func (dec DefaultDecoders) DecodeString(it any, v reflect.Value) error
DecodeString :
func (*DefaultDecoders) DecodeStruct ¶
func (dec *DefaultDecoders) DecodeStruct(it any, v reflect.Value) error
DecodeStruct :
func (DefaultDecoders) DecodeTime ¶
func (dec DefaultDecoders) DecodeTime(it any, v reflect.Value) error
DecodeTime :
func (DefaultDecoders) DecodeTimeLocation ¶
func (dec DefaultDecoders) DecodeTimeLocation(it any, v reflect.Value) error
DecodeTimeLocation :
func (DefaultDecoders) DecodeUUID ¶
func (dec DefaultDecoders) DecodeUUID(it any, v reflect.Value) (err error)
func (DefaultDecoders) DecodeUint ¶
func (dec DefaultDecoders) DecodeUint(it any, v reflect.Value) error
DecodeUint :
type DefaultEncoders ¶
type DefaultEncoders struct {
// contains filtered or unexported fields
}
DefaultEncoders :
func (DefaultEncoders) EncodeArray ¶
func (enc DefaultEncoders) EncodeArray(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeArray :
func (DefaultEncoders) EncodeBool ¶
func (enc DefaultEncoders) EncodeBool(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeBool :
func (DefaultEncoders) EncodeByte ¶
func (enc DefaultEncoders) EncodeByte(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeByte :
func (DefaultEncoders) EncodeDateTime ¶
func (DefaultEncoders) EncodeFloat ¶
func (enc DefaultEncoders) EncodeFloat(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeFloat :
func (DefaultEncoders) EncodeInt ¶
func (enc DefaultEncoders) EncodeInt(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeInt :
func (DefaultEncoders) EncodeJsonRaw ¶
func (enc DefaultEncoders) EncodeJsonRaw(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeJsonRaw :
func (DefaultEncoders) EncodeMap ¶
func (enc DefaultEncoders) EncodeMap(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeMap :
func (*DefaultEncoders) EncodePtr ¶
func (enc *DefaultEncoders) EncodePtr(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodePtr :
func (DefaultEncoders) EncodeRawBytes ¶
func (enc DefaultEncoders) EncodeRawBytes(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeRawBytes :
func (DefaultEncoders) EncodeSpatial ¶
func (enc DefaultEncoders) EncodeSpatial(t spatial.Type) db.ValueEncoder
EncodeSpatial :
func (DefaultEncoders) EncodeString ¶
func (enc DefaultEncoders) EncodeString(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeString :
func (DefaultEncoders) EncodeStringer ¶
func (enc DefaultEncoders) EncodeStringer(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeStringer :
func (DefaultEncoders) EncodeStruct ¶
func (enc DefaultEncoders) EncodeStruct(d db.SqlDriver, v reflect.Value, opts map[string]string) (string, []any, error)
EncodeStruct :
func (DefaultEncoders) EncodeTime ¶
func (DefaultEncoders) EncodeUUID ¶
Click to show internal directories.
Click to hide internal directories.