classIdentityOptionRule
final class IdentityOptionRule
implements RewriteRule
gram.y:alter_identity_column_option excludes AS, RESTART and OWNED BY after SET.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceUses the dedicated RESTART form and replaces excluded sequence declarations with SET NO CYCLE.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 5
- method-call TerminalSequence::occurrences() line 23
- method-call TerminalSequence::child() line 24
- method-call TerminalSequence::range() line 25
- method-call TerminalSequence::nameAt() line 26
- function-call
in_arrayline 33
Test cases 8§
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 6
MySqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls