interface Argument
    extends Clause
Public API: explicitly declared with @visibility public.

One argument of a function call: a value, optionally passed by parameter name.

Mirrors func_arg_expr: positional value, and named name => value or the older name := value. Source: https://www.postgresql.org/docs/17/sql-syntax-calling-funcs.html.

Naming the contract a call argument fulfilsdoctest
is_subclass_of(\SqlSemantics\Platform\PostgreSql\Statement\Invocation\Argument::class, \SqlSemantics\Platform\PostgreSql\Statement\Clause::class) // => true

Methods§

public function value(): Scalar

Answers the argument value.

Returns

public function name(): ?Name

Answers the parameter name the value is passed by, or null for a positional argument.

Returns

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Implemented by 2
Constant reads 2
Type declarations 1