classSupportFunction
final class SupportFunction
implements RoutineOption
uses Snapshot
Public API: explicitly declared with
@visibility public.SUPPORT function: the planner support function of the routine.
Source: https://www.postgresql.org/docs/17/sql-createfunction.html.
$option = new \SqlSemantics\Platform\PostgreSql\Statement\Routine\Option\SupportFunction(new \SqlSemantics\Platform\PostgreSql\Statement\Name\DottedName([new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('helper')]));
$option->function->last()->value // => 'helper'Properties§
public DottedName $functionMethods§
public function __construct(public DottedName $function)Parameters
$function | DottedName | The support function |
public function alterable(): boolTells that ALTER accepts the option.
Returns
boolTest cases 1
public function setting(): stringpublic function deriveClause(Derivation $derivation, Environment $environment): voidDerives nothing: a name holds no expression.
Parameters
$derivation | Derivation | |
$environment | Environment |
Test cases 1
public function render(Output $out): voidWrites SUPPORT and the function name.
Parameters
$out | Output |
Test cases 1
Calls 1
- method-call Output::keyword() line 62
Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.