classDefaultExpression
final class DefaultExpression
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Interprets a SQL default expression.
Methods§
public function extractDefault(?OptionsArray $options): int|float|bool|string|nullInterprets a DEFAULT clause while preserving SQL expressions.
Parameters
$options | ?OptionsArray |
Returns
int|float|bool|string|nullThrows
UnexpectedValueExceptionTest cases 2
Called from 1
Test cases 21§
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 19
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlSchemaFetcherTestcallsMySqlSchemaParserTestcallsColumnParserTestcallsTableDefinitionTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcallsMySqlSchemaParserTestcalls