SchemaInformation

FinalYes

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.

Internal

This class is only for internal core usage and is not part of the public core API.

Table of Contents

Methods

__construct()  : mixed
introspectSchema()  : Schema
Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.
introspectTable()  : Table
Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.
listTableNames()  : array<string|int, string>
Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.

Methods

introspectSchema()

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

public introspectSchema() : Schema

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

Creates one cache entry in core cache per configured connection.

Return values
Schema

introspectTable()

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

public introspectTable(string $tableName) : Table

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

Creates one cache entry in core cache per table.

Parameters
$tableName : string
Return values
Table

listTableNames()

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

public listTableNames() : array<string|int, string>

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

Return values
array<string|int, string>

        
On this page

Search results