Skip to main content

parse_pg_array_literal

Function parse_pg_array_literal 

Source
pub fn parse_pg_array_literal(text: &str) -> Result<ArrayValue>
Expand description

Parse a PostgreSQL array literal ({1,2,3}, {"a b",NULL}, {{1,2},{3,4}}) into nested lists of string/NULL values; the caller casts elements.