Skip to main content

postgres_result_type

Function postgres_result_type 

Source
pub fn postgres_result_type(ty: &ColumnType) -> SQLTypeMetadata
Expand description

Resolve result metadata without inspecting runtime values. PostgreSQL flattens a domain to its base type at the client boundary, while arrays retain their element type identity.