Skip to main content

to_text

Function to_text 

Source
pub fn to_text(ty: u32, value: &Value, session: &dyn Session) -> Result<String>
Expand description

The cast of a value to text: the output function, with the casts of pg_cast that differ from it. bool gives true and false, and bpchar loses its trailing spaces.

ยงErrors

The errors of output.