Skip to content

Commit

Permalink
Rename CharArray too
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Tatarintsev committed Nov 1, 2023
1 parent 93f4c55 commit ce95861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query-engine/driver-adapters/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub enum ColumnType {
BooleanArray = 69,

/// Char array (CHAR_ARRAY in PostgreSQL)
CharArray = 70,
CharacterArray = 70,

/// Text array (TEXT_ARRAY in PostgreSQL)
TextArray = 71,
Expand Down Expand Up @@ -450,7 +450,7 @@ fn js_value_to_quaint(
ColumnType::DoubleArray => js_array_to_quaint(ColumnType::Double, json_value, column_name),
ColumnType::NumericArray => js_array_to_quaint(ColumnType::Numeric, json_value, column_name),
ColumnType::BooleanArray => js_array_to_quaint(ColumnType::Boolean, json_value, column_name),
ColumnType::CharArray => js_array_to_quaint(ColumnType::Character, json_value, column_name),
ColumnType::CharacterArray => js_array_to_quaint(ColumnType::Character, json_value, column_name),
ColumnType::TextArray => js_array_to_quaint(ColumnType::Text, json_value, column_name),
ColumnType::DateArray => js_array_to_quaint(ColumnType::Date, json_value, column_name),
ColumnType::TimeArray => js_array_to_quaint(ColumnType::Time, json_value, column_name),
Expand Down

0 comments on commit ce95861

Please sign in to comment.