classNamedArgument
final class NamedArgument
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A call of a native function with an argument that has an alias, which only loadable functions accept (ER_WRONG_PARAMETERS_TO_NATIVE_FCT).
Source: https://dev.mysql.com/doc/refman/8.4/en/udf-arguments.html, https://dev.mysql.com/doc/mysql-errors/8.4/en/server-error-reference.html#error_er_wrong_parameters_to_native_fct.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT abs(1 AS x)') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: Incorrect parameters in the call to native function 'abs'Properties§
public Name $functionMethods§
public function __construct(public Name $function)Parameters
$function | Name | The function name as written |
public function message(): stringDescribes the problem in the words of the server.
Returns
stringTest cases 1
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.