Skip to main content

parse_create_function

Function parse_create_function 

Source
pub fn parse_create_function(sql: &str) -> Result<CreateFunctionDdl, String>
Expand description

Parse a CREATE FUNCTION … RETURNS TABLE (…) statement and return a CreateFunctionDdl descriptor.

Returns an error string if the statement cannot be recognised.