final class ReservedFunction
    implements Diagnostic
    uses Snapshot
Public API: explicitly declared with @visibility public.

A call of a native function the server reserves for the views of its data dictionary (ER_NO_ACCESS_TO_NATIVE_FCT).

Source: https://dev.mysql.com/doc/mysql-errors/8.4/en/server-error-reference.html#error_er_no_access_to_native_fct.

Reading the problem of a reserved functiondoctest
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT internal_table_rows(1, 2, 3, 4, 5, 6, 7, 8)') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: Access to native function 'internal_table_rows' is rejected

Properties§

public Name $function

Methods§

public function __construct(public Name $function)

Parameters

$functionNameThe function name as written
public function message(): string

Describes the problem in the words of the server.

Returns

string
Test cases 1

Test cases 2§

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

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Instantiated in 1