classValuesIn
final class ValuesIn
implements PartitionBound
uses Snapshot
Public API: explicitly declared with
@visibility public.VALUES IN (value, …): the values of a LIST partition over one expression or column.
Mirrors PT_part_values_in_item: one parenthesized row whose items are the listed values. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-list.html.
$bound = new \SqlSemantics\Platform\MySql\Statement\Partition\Bound\ValuesIn(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($bound->row->items) // => 2Properties§
public PartitionRow $rowMethods§
public function __construct(public PartitionRow $row)Parameters
$row | PartitionRow | The listed values |
public function deriveBound(Derivation $derivation): voidDerives the values as constants.
Parameters
$derivation | Derivation |
Calls 1
- method-call PartitionRow::deriveRow() line 39
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
ValuesInTestcalls