interfaceCharacteristic
interface Characteristic
extends Node
Public API: explicitly declared with
@visibility public.One characteristic of a stored routine: COMMENT, LANGUAGE, the data access, SQL SECURITY or DETERMINISTIC.
A statement keeps its characteristics in written order; when one kind is written several times the server uses the last. Source: https://dev.mysql.com/doc/refman/8.4/en/create-procedure.html.
$alter = (new \SqlSemantics\Platform\MySql\Semantics())->analyze("ALTER PROCEDURE p COMMENT 'x' SQL SECURITY INVOKER");
$alter->statement->characteristics[1] instanceof \SqlSemantics\Platform\MySql\Statement\Routine\Characteristic\Characteristic // => trueTest cases 3§
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 2
Relations§
Implemented by 5
- DataAccess packages/sql-semantics-mysql/src/Statement/Routine/Characteristic/DataAccess.php:20
- Determinism packages/sql-semantics-mysql/src/Statement/Routine/Characteristic/Determinism.php:22
- RoutineComment packages/sql-semantics-mysql/src/Statement/Routine/Characteristic/RoutineComment.php:22
- RoutineLanguage packages/sql-semantics-mysql/src/Statement/Routine/Characteristic/RoutineLanguage.php:23
- SqlSecurity packages/sql-semantics-mysql/src/Statement/Routine/Characteristic/SqlSecurity.php:20
Constant reads 3
- class-const SqlSemantics\Platform\MySql\Statement\Routine\AlterRoutine::__construct() packages/sql-semantics-mysql/src/Statement/Routine/AlterRoutine.php:51
- class-const SqlSemantics\Platform\MySql\Statement\Routine\CreateFunction::__construct() packages/sql-semantics-mysql/src/Statement/Routine/CreateFunction.php:74
- class-const SqlSemantics\Platform\MySql\Statement\Routine\CreateProcedure::__construct() packages/sql-semantics-mysql/src/Statement/Routine/CreateProcedure.php:65