This commit is contained in:
James Cor
2022-09-22 14:58:08 -07:00
parent e034896202
commit ba4f8c6e33

View File

@@ -321,7 +321,7 @@ func SqlColToStr(sqlType sql.Type, col interface{}) (string, error) {
} else {
return "false", nil
}
case sql.Point, sql.LineString, sql.Polygon, sql.GeometryType:
case sql.SpatialColumnType:
res, err := sqlType.SQL(sqlColToStrContext, nil, col)
hexRes := fmt.Sprintf("0x%X", res.Raw())
if err != nil {