pub fn add_standardize_function(
config_json: &str,
sfunc_code: &str,
params: AddStandardizeFunctionParams<'_>,
) -> Result<(String, Value), SzConfigError>Expand description
Add a new standardize function
§Arguments
config_json- The configuration JSON stringsfunc_code- Function code (will be uppercased)params- Function parameters (connect_str required, others optional)
§Returns
Result with modified JSON string and the new function record
§Errors
Returns error if function already exists or JSON is invalid