definitionBody property
The body of the routine.
For functions, this is the expression in the AS clause. If language=SQL,
it is the substring inside (but excluding) the parentheses. For example,
for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y))
The definition_body
is concat(x, "\n", y)
(\n is not replaced with linebreak). If
language=JAVASCRIPT, it is the evaluated string in the AS clause. For
example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'
The
definition_body is return "\n";\n
Note that both \n are replaced with
linebreaks.
Required.
Implementation
core.String? definitionBody;