classPragmaColumn
final class PragmaColumn
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Converts a SQLite table_info row to a column definition.
Methods§
public function parse(array{cid: int, name: string, type: string, notnull: int, dflt_value: string|null, pk: int} $row): ColumnDefinitionApplies declared type parameters, nullability and the primary-key constraint.
Parameters
$row | array{cid: int, name: string, type: string, notnull: int, dflt_value: string|null, pk: int} |
Returns
Test cases 2
Called from 1
Calls 5
- function-call
strtoupperline 24 - method-call PragmaSchema::parseDefaultValue() line 26
- new PragmaSchema line 26
- function-call
preg_matchline 37 - new ColumnDefinition line 49
Test cases 13§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 11
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsPragmaSchemaTestcallsSqliteSchemaFetcherTestcallsDatabaseSchemaCacheTestcallsSqlSchemaProviderTestcallsSchemaFetcherInterfaceTestcalls