classValuesInRows
final class ValuesInRows
implements PartitionBound
uses Snapshot
Public API: explicitly declared with
@visibility public.VALUES IN ((value, …), …): the value tuples of a LIST COLUMNS partition.
Mirrors PT_part_values_in_list: a parenthesized list of rows, one tuple of column values each. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-columns-list.html.
$row = new \SqlSemantics\Platform\MySql\Statement\Partition\Bound\PartitionRow([new \SqlSemantics\Platform\MySql\Statement\Literal\NumberLiteral('1'), new \SqlSemantics\Platform\MySql\Statement\Literal\NumberLiteral('2')]);
count((new \SqlSemantics\Platform\MySql\Statement\Partition\Bound\ValuesInRows([$row]))->rows) // => 1Properties§
public list<PartitionRow> $rowsMethods§
public function __construct(list<PartitionRow> $rows)Parameters
$rows | list<PartitionRow> | The tuples in order; at least one |
Calls 3
- static-call Check::input() line 38
- static-call Check::listOf() line 39
- class-const PartitionRow::class() line 39
public function deriveBound(Derivation $derivation): voidDerives the values as constants.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ValuesInRowsTestcalls