Skip to main content

parse

Function parse 

Source
pub fn parse(create_function_text: &str) -> Result<PlpgsqlBody, String>
Expand description

Parse a CREATE FUNCTION ... LANGUAGE plpgsql AS $$ ... $$ body. Pass the full CREATE FUNCTION text – libpg_query expects the surrounding DDL because the function header drives parameter + return-type wiring.