final class LessThan
    implements PartitionBound
    uses Snapshot
Public API: explicitly declared with @visibility public.

VALUES LESS THAN (values) or VALUES LESS THAN MAXVALUE: the exclusive upper bound of a RANGE partition.

Mirrors PT_part_values with MAXVALUE written alone (no row) or a row of values. The two spellings of the greatest bound are kept as written. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-range.html.

Holding the unbounded last rangedoctest
(new \SqlSemantics\Platform\MySql\Statement\Partition\Bound\LessThan(null))->row // => null

Properties§

public PartitionRow|null $row

Methods§

public function __construct(public PartitionRow|null $row)

Parameters

$rowPartitionRow|nullThe bound values, or null for the keyword MAXVALUE written without parentheses
public function deriveBound(Derivation $derivation): void

Derives the bound values as constants.

Parameters

$derivationDerivation
public function render(Output $out): void

Writes the bound.

Parameters

$outOutput
Calls 2

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Instantiated in 2
Type declarations 1