enumViewCheckOption
enum ViewCheckOption: string
Public API: explicitly declared with
@visibility public.The WITH CHECK OPTION clause of an updatable view.
Without CASCADED or LOCAL the check is CASCADED; the written form is kept. Each case holds the keyword written between WITH and CHECK, if any. Source: https://dev.mysql.com/doc/refman/8.4/en/view-check-option.html.
\SqlSemantics\Platform\MySql\Statement\View\ViewCheckOption::Local->value // => 'LOCAL'Cases§
case Unqualified = ''case Cascaded = 'CASCADED'case Local = 'LOCAL'Methods§
public function cascades(): boolTells whether the check also applies the conditions of the views the view is defined on.
Returns
boolCalls 1
- class-const ViewCheckOption::Local() line 29
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 1
Relations§
Constant reads 4
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\View\ViewRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/View/ViewRule.php:52
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\View\ViewRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/View/ViewRule.php:53
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\View\ViewRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/View/ViewRule.php:53
- class-const SqlSemantics\Platform\MySql\Statement\View\ViewDefinition::render() packages/sql-semantics-mysql/src/Statement/View/ViewDefinition.php:102