Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToType ¶
func ConvertToType(t *sql.ColumnType, v any) (any, error)
ConvertToType handles casting mysql returns to the right type types for mysql driver: https://github.com/go-sql-driver/mysql/blob/v1.9.3/fields.go all numeric type or unknown type will be return as is.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.