classCatalogDdl
final class CatalogDdl
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Reconstructs CREATE TABLE SQL from PostgreSQL catalog columns.
Methods§
public function reconstructCreateTable(PDO $pdo, string $tableName): ?stringReconstructs create table.
Parameters
$pdo | PDO | |
$tableName | string |
Returns
?stringTest cases 1
Called from 1
Calls 9
- function-call
str_containsline 23 - function-call
explodeline 24 - method-call CatalogQuery::columns() line 29
- new CatalogQuery line 29
- method-call CatalogQuery::primaryKeys() line 35
- method-call CatalogColumn::mapDataType() line 39
- new CatalogColumn line 39
- function-call
implodeline 50 - function-call
array_mapline 50
Test cases 9§
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 8
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsPostgreSqlSchemaFetcherTestcallsSqlSchemaProviderTestcalls