classCreateTableQuery
final class CreateTableQuery
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Reads the database CREATE TABLE declaration.
Methods§
public function fetchCreateTableSql(PDO $pdo, string $tableName): stringFetch the CREATE TABLE SQL from the database.
Parameters
$pdo | PDO | |
$tableName | string |
Returns
stringThrows
RuntimeExceptionTest cases 1
Called from 1
Calls 5
- method-call IdentifierQuoter::quoteTableName() line 23
- new IdentifierQuoter line 23
- method-call
PDO::query()line 25 - new
RuntimeExceptionline 27 - class-const
PDO::FETCH_NUM()line 33
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
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsMySqlSchemaFetcherTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcalls