interfaceCondition
interface Condition
extends Node
Public API: explicitly declared with
@visibility public.What a handler handles or a signal raises: an error code, an SQLSTATE value, a condition name or a class of conditions.
Source: https://dev.mysql.com/doc/refman/8.4/en/declare-handler.html.
$state = new \SqlSemantics\Platform\MySql\Statement\Routine\Condition\SqlState(new \SqlSemantics\Platform\MySql\Statement\Literal\Text('45000'));
$state instanceof \SqlSemantics\Platform\MySql\Statement\Routine\Condition\Condition // => trueTest 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
ConditionFactsTestcalls
Relations§
Implemented by 4
- ConditionName packages/sql-semantics-mysql/src/Statement/Routine/Condition/ConditionName.php:21
- ErrorCode packages/sql-semantics-mysql/src/Statement/Routine/Condition/ErrorCode.php:29
- GeneralCondition packages/sql-semantics-mysql/src/Statement/Routine/Condition/GeneralCondition.php:20
- SqlState packages/sql-semantics-mysql/src/Statement/Routine/Condition/SqlState.php:25
Method calls 3
- method-call SqlSemantics\Platform\MySql\Rules\Routine\ConditionFacts::value() packages/sql-semantics-mysql/src/Rules/Routine/ConditionFacts.php:49
- method-call SqlSemantics\Platform\MySql\Rules\Routine\ConditionFacts::value() packages/sql-semantics-mysql/src/Rules/Routine/ConditionFacts.php:52
- method-call SqlSemantics\Platform\MySql\Rules\Routine\ConditionFacts::same() packages/sql-semantics-mysql/src/Rules/Routine/ConditionFacts.php:75
Constant reads 1
Type declarations 4
- type SqlSemantics\Platform\MySql\Rules\Routine\BlockFacts packages/sql-semantics-mysql/src/Rules/Routine/BlockFacts.php:123
- type SqlSemantics\Platform\MySql\Rules\Routine\ConditionFacts packages/sql-semantics-mysql/src/Rules/Routine/ConditionFacts.php:47
- type SqlSemantics\Platform\MySql\Rules\Routine\ConditionFacts packages/sql-semantics-mysql/src/Rules/Routine/ConditionFacts.php:63
- type SqlSemantics\Platform\MySql\Rules\Routine\ConditionFacts packages/sql-semantics-mysql/src/Rules/Routine/ConditionFacts.php:71