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): ?string

Fetch the CREATE TABLE SQL from sqlite_schema.

Parameters

$pdoPDO
$tableNamestring

Returns

?string
Test cases 1
Called from 1
Calls 2
  • method-call PDO::prepare() line 21
  • class-const PDO::FETCH_ASSOC() line 29

Test cases 11§

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 10

Relations§

Instantiated in 1
Method calls 1