Skip to main content

map_hyper_type

Function map_hyper_type 

Source
pub fn map_hyper_type(type_name: &str) -> Option<SqlType>
Expand description

Map a user-facing type name string (e.g. "INT", "NUMERIC(12,2)") to a hyperdb_api::SqlType. Accepts PostgreSQL aliases (INT4, FLOAT8, VARCHAR) so schema overrides from diverse sources work without normalization.