classTableDefinitionInput
final class TableDefinitionInput
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Separates fixture column metadata from physical table partitioning.
Methods§
public function withoutPartitioning(string $sql): stringKeeps the complete column list and table options before PARTITION BY.
Partition definitions do not affect generated row values. Removing this suffix also prevents sql-parser from interpreting a following AS VALUES expression as a partition definition and reading beyond its token list.
Parameters
$sql | string |
Returns
stringTest cases 5
TableDefinitionInputTest::testWithoutPartitioningKeepsColumnMetadataBeforeAsValuescallsTableDefinitionInputTest::testWithoutPartitioningLeavesStatementsWithoutAColumnListAlonecallsTableDefinitionInputTest::testWithoutPartitioningPreservesCommentsAndLineBreakscallsTableDefinitionInputTest::testWithoutPartitioningPreservesMultibyteIdentifierscallsTableDefinitionInputTest::testWithoutPartitioningPreservesQuotedKeywordsAndNestedTypescalls
Called from 1
Test cases 22§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 5
TableDefinitionInputTest::testWithoutPartitioningKeepsColumnMetadataBeforeAsValuescallsTableDefinitionInputTest::testWithoutPartitioningLeavesStatementsWithoutAColumnListAlonecallsTableDefinitionInputTest::testWithoutPartitioningPreservesCommentsAndLineBreakscallsTableDefinitionInputTest::testWithoutPartitioningPreservesMultibyteIdentifierscallsTableDefinitionInputTest::testWithoutPartitioningPreservesQuotedKeywordsAndNestedTypescalls
Other tests reaching this symbol 17
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlSchemaFetcherTestcallsMySqlSchemaParserTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcallsMySqlSchemaParserTestcalls