Skip to main content

get_distinct_function

Function get_distinct_function 

Source
pub fn get_distinct_function(
    config_json: &str,
    dfunc_code: &str,
) -> Result<Value, SzConfigError>
Expand description

Get a distinct function by code

§Arguments

  • config_json - The configuration JSON string
  • dfunc_code - Function code to retrieve

§Returns

Result with the function record

§Errors

Returns error if function not found or JSON is invalid