classTablePartitionRelation
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 $parentTablepublic string|null $predicateMethods§
public function __construct(string $parentTable, ?string $predicate)Parameters
$parentTable | string | |
$predicate | ?string |
Throws
InvalidDefinitionException When the parent table or the predicate is emptyTest cases 2
Calls 2
- function-call
trimline 34 - new InvalidDefinitionException line 36
Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Relations§
Constant reads 1
- class-const packages/ztd-query-core/src/Compatibility/ClassAliases.php packages/ztd-query-core/src/Compatibility/ClassAliases.php:42