classGeneratedColumnRule
final class GeneratedColumnRule
implements RewriteRule
build.c:sqlite3AddGenerated permits one generated expression without a DEFAULT on the same column.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceRetains the first generated expression and removes conflicting column value definitions.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 5
- function-call
array_reverseline 25 - method-call TerminalSequence::occurrences() line 25
- method-call TerminalSequence::range() line 26
- method-call TerminalSequence::child() line 31
- function-call
array_searchline 35
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
MySqlProviderTestcallsPostgreSqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls