COPY FUNCTION_SOURCE
Syntax
Description
This command downloads a Function Source in the current organization to a specified file path on the user's local machine.
You can download a function source only if the current role has USAGE privileges.
Arguments
function_source_name
This is the name of the function source to copy. If the name is case-sensitive names, you must wrap it in double quotes; otherwise, the lowercase name is used.
file_path
This is the destination file path on the local machine to which the function source file is copied. This is a string value and should be wrapped in single quotes.
Return
A message indicating the function source was successfully copied (or displays an error otherwise).
Examples
Copy Function Source
Last updated