final class PartitionFacts
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Derives the partitioning of a table for the statement that holds it.

Rule: MYSQL-PARTITION-FACTS-001. The entry the table definition family calls for CREATE TABLE … PARTITION BY: the partitioning functions and columns are derived in the scope of the partitioned table, the partition values as constants (MYSQL-PARTITIONING-001). Terminates: delegates once. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-limitations.html. Status: Implemented.

Methods§

public function partitioning(
    Partitioning $partitioning,
    Derivation $derivation,
    Environment $scope,
): void

Derives a partitioning in the scope of its table.

Parameters

$partitioningPartitioning
$derivationDerivation
$scopeEnvironmentThe scope whose only visible relation is the partitioned table
Test cases 1
Calls 1

Test cases 1§

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

Dedicated tests 1