FunctionState constructor
Creates a new FunctionState.
args List of arguments for the function.
body Function body.
database The database where the function is located.
dropCascade True to automatically drop objects that depend on the function (such as
language The function programming language. Can be one of internal, sql, c, plpgsql. Default is plpgsql.
name The name of the function.
parallel Indicates if the function is parallel safe. Can be one of UNSAFE, RESTRICTED, or SAFE. Default is UNSAFE.
returns Type that the function returns. It can be computed from the OUT arguments. Default is void.
schema The schema where the function is located.
securityDefiner If the function should execute with the permissions of the owner, rather than the permissions of the caller. Default is false.
strict If the function should always return NULL when any of the inputs is NULL. Default is false.
volatility Defines the volatility of the function. Can be one of VOLATILE, STABLE, or IMMUTABLE. Default is VOLATILE.
Implementation
const FunctionState({
this.args,
this.body,
this.database,
this.dropCascade,
this.language,
this.name,
this.parallel,
this.returns,
this.schema,
this.securityDefiner,
this.strict,
this.volatility,
});