Skip to main content

format_postgres_text

Function format_postgres_text 

Source
pub fn format_postgres_text(
    value: &Value,
    ty: &ColumnType,
    engine: Option<&dyn EngineHook>,
) -> Result<String, SQLError>
Expand description

Format a non-NULL result value using its declared type and optional catalog resolver. NULL remains separate from text in the calling result protocol.