Skip to content

Commit

Permalink
Add Geometry handling in quaint from_type_identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreilles committed Sep 30, 2024
1 parent 56644f3 commit a3db88e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quaint/src/connector/column_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ impl ColumnType {
ColumnType::Numeric
} else if value.is_text() {
ColumnType::Text
} else if value.is_geometry() {
ColumnType::Geometry
} else {
ColumnType::Unknown
}
Expand Down

0 comments on commit a3db88e

Please sign in to comment.