final class TablePartitionRelation

What makes one table a partition of another.

A partition holds the rows of its parent that satisfy the predicate, so a statement against the parent reaches it and a statement against it does not reach the parent. Both are needed to work out which of them a row belongs in.

Properties§

public string $parentTable
public string|null $predicate

Methods§

public function __construct(string $parentTable, ?string $predicate)

Parameters

$parentTablestring
$predicate?string

Throws

InvalidDefinitionException When the parent table or the predicate is empty
Test cases 2
Calls 2

Test cases 4§

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

Dedicated tests 2
Other tests reaching this symbol 2

Relations§

Constant reads 1
Type declarations 3