Skip to main content

format_text_array

Function format_text_array 

Source
pub fn format_text_array(items: &[Option<String>]) -> String
Expand description

v7.10.9 — render a TEXT[] in PG’s external array form ({a,b,NULL}). Elements containing whitespace, commas, quotes, or braces get double-quoted with \\ / \" escapes. NULL elements use the literal token NULL. Public so the wire layer can produce the canonical text-mode encoding.