classRangeLimit
final class RangeLimit
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.MINVALUE or MAXVALUE in a range partition bound: below or above every value.
The grammar reads the word as a column reference; the server takes a one-part column reference named minvalue or maxvalue in a range bound as the infinite bound (PARTITION_RANGE_DATUM_MINVALUE/MAXVALUE). Source: https://www.postgresql.org/docs/17/sql-createtable.html.
$create = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE TABLE p1 PARTITION OF p FOR VALUES FROM (MINVALUE) TO (10)');
$create->statement->definition->bound->from[0]->maximum() // => falseProperties§
public Name $wordMethods§
public function __construct(public Name $word)Parameters
$word | Name | The word, `minvalue` or `maxvalue` |
Calls 1
- static-call Check::input() line 35
public function maximum(): boolTells whether the limit is MAXVALUE.
Returns
boolpublic function render(Output $out): voidTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.