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

The DEFAULT bound: the partition holds the rows no other partition holds.

Mirrors PartitionBoundSpec with is_default. Source: https://www.postgresql.org/docs/17/sql-createtable.html.

Writing a default partitiondoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('create table p0 partition of p default')->toString() // => 'CREATE TABLE p0 PARTITION OF p DEFAULT'

Methods§

public function deriveClause(Derivation $derivation, Environment $environment): void

Derives nothing: the bound has no value.

Parameters

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

Writes DEFAULT.

Parameters

$outOutput
Calls 1

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 1