classPartitionKeys
final class PartitionKeys
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Reflects the partition-key expression attached to each partitioned table.
Methods§
public function __construct(private ConnectionInterface $connection)Supplies access to the current PostgreSQL schema.
Parameters
$connection | ConnectionInterface |
public function reflect(): array<string, TablePartitionKey>Parses catalog partition-key declarations into typed metadata.
Returns
array<string, TablePartitionKey>Called from 1
Calls 4
- new PgSqlPartitionParser line 31
- method-call ConnectionInterface::query() line 33
- function-call
is_stringline 44 - method-call PgSqlPartitionParser::parseKey() line 47
Private surface 1§
Implementation details, listed for orientation only.
private ConnectionInterface $connectionTest cases 5§
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 4
PgSqlSessionFactoryTestcallsPgSqlPartitionReflectorTestcallsPgSqlSchemaReflectorTestcallsSchemaInitializerTestcalls