SchemaInformation

final class \TYPO3\CMS\Core\Database\Schema\SchemaInformation

This wrapper of SchemaManager contains some internal caches to avoid performance issues for recurring calls to specific schema related information. This should only be used in context where no changes are expected to happen.

Table of Contents

Methods

__construct()  : mixed
getTableInfo()  : TableInfo
listTableColumnInfos()  : array<string, ColumnInfo>
listTableColumnNames()  : string[]
listTableNames()  : string[]
Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.

Methods

listTableColumnInfos()

public listTableColumnInfos(string $tableName) : array<string, ColumnInfo>

Parameters

$tableName : string

Return values

array<string, ColumnInfo>

listTableColumnNames()

public listTableColumnNames(string $tableName) : string[]

Parameters

$tableName : string

Return values

string[]

listTableNames()

Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.

public listTableNames() : string[]

This is used core internally to auto-add types, for instance in Connection::insert().

Return values

string[]
On this page