namespaceSqlFixture\Schema

Namespaces 1§

ExceptionSqlFixture\Schema\Exception

Interfaces 3§

SchemaFetcherInterfaceInterface for fetching table schemas from a database connection.
SchemaParserInterfaceParses CREATE TABLE text into a dialect-independent schema.
SchemaResolverInterfaceResolves a table schema by name.

Classes 9§

ColumnDefinitionDescribes one SQL column, including its type, default and constraints.
DefinitionSegments @visibility rootSeparates column declarations without splitting quoted text or nested expressions.
MySqlSchemaParser
SchemaNotFoundExceptionA requested table has no registered schema.
SchemaParseExceptionFailures extracting a table schema from SQL.
StaticSchemaResolverResolves schemas from an in-memory, case-insensitive registry.
TableIdentifier @visibility rootResolves quoted or qualified names to the case-insensitive schema registry key.
TableSchemaHolds the named columns and ordered primary key of one table.
TypeShape @visibility rootThe size and numeric precision carried by a parsed SQL type declaration.