Skip to main content

get_function_file

Function get_function_file 

Source
pub fn get_function_file(
    conn: &Connection,
    function_name: &str,
) -> Result<Option<String>>
Expand description

Get the file containing a function

§Arguments

  • conn - Database connection
  • function_name - Name of the function

§Returns

  • Ok(Some(file_path)) - The file path if found
  • Ok(None) - Function not found
  • Err(...) - Database error