‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform:
TYPO3\CMS\Core\Database\Platform\PostgreSQLPlatform

Public Member Functions

string getBlobTypeDeclarationSQL (array $field)
 
 getBooleanTypeDeclarationSQL (array $columnDef)
 
 getIntegerTypeDeclarationSQL (array $columnDef)
 
 getBigIntTypeDeclarationSQL (array $columnDef)
 
 getSmallIntTypeDeclarationSQL (array $columnDef)
 
 _getCommonIntegerTypeDeclarationSQL (array $columnDef)
 
 getVarcharTypeDeclarationSQL (array $field)
 
 getClobTypeDeclarationSQL (array $field)
 
 getJsonTypeDeclarationSQL (array $field)
 
 getBinaryTypeDeclarationSQL (array $field)
 
 getCurrentDatabaseExpression ()
 

Protected Member Functions

 initializeDoctrineTypeMappings ()
 
string getVarcharTypeDeclarationSQLSnippet ($length)
 
 getReservedKeywordsClass ()
 

Detailed Description

Definition at line 23 of file MockPostgreSQLPlatform.php.

Member Function Documentation

◆ _getCommonIntegerTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::_getCommonIntegerTypeDeclarationSQL ( array  $columnDef)

Returns the SQL snippet that declares common properties of an integer column.

Definition at line 71 of file MockPostgreSQLPlatform.php.

◆ getBigIntTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getBigIntTypeDeclarationSQL ( array  $columnDef)

Returns the SQL snippet that declares an 8 byte integer column.

Definition at line 55 of file MockPostgreSQLPlatform.php.

◆ getBinaryTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getBinaryTypeDeclarationSQL ( array  $field)

Returns the SQL snippet used to declare a BINARY/VARBINARY column type.

Parameters
array$field‪The column definition.

Definition at line 110 of file MockPostgreSQLPlatform.php.

◆ getBlobTypeDeclarationSQL()

string TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getBlobTypeDeclarationSQL ( array  $field)

Gets the SQL Snippet used to declare a BLOB column type.

Returns
‪string
Exceptions

Definition at line 31 of file MockPostgreSQLPlatform.php.

◆ getBooleanTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getBooleanTypeDeclarationSQL ( array  $columnDef)

Returns the SQL snippet that declares a boolean column.

Definition at line 39 of file MockPostgreSQLPlatform.php.

◆ getClobTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getClobTypeDeclarationSQL ( array  $field)

Returns the SQL snippet used to declare a CLOB column type.

Definition at line 87 of file MockPostgreSQLPlatform.php.

◆ getCurrentDatabaseExpression()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getCurrentDatabaseExpression ( )

Definition at line 143 of file MockPostgreSQLPlatform.php.

◆ getIntegerTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getIntegerTypeDeclarationSQL ( array  $columnDef)

Returns the SQL snippet that declares a 4 byte integer column.

Definition at line 47 of file MockPostgreSQLPlatform.php.

◆ getJsonTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getJsonTypeDeclarationSQL ( array  $field)

Returns the SQL snippet to declare a JSON field.

By default this maps directly to a CLOB and only maps to more special datatypes when the underlying databases support this datatype.

Parameters
array$field

Definition at line 100 of file MockPostgreSQLPlatform.php.

◆ getReservedKeywordsClass()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getReservedKeywordsClass ( )
protected

Returns the class name of the reserved keywords list.

Exceptions

Definition at line 138 of file MockPostgreSQLPlatform.php.

◆ getSmallIntTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getSmallIntTypeDeclarationSQL ( array  $columnDef)

Returns the SQL snippet that declares a 2 byte integer column.

Definition at line 63 of file MockPostgreSQLPlatform.php.

◆ getVarcharTypeDeclarationSQL()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getVarcharTypeDeclarationSQL ( array  $field)

Returns the SQL snippet used to declare a VARCHAR column type.

Definition at line 79 of file MockPostgreSQLPlatform.php.

◆ getVarcharTypeDeclarationSQLSnippet()

string TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::getVarcharTypeDeclarationSQLSnippet (   $length)
protected
Parameters
int$length
Returns
‪string
Exceptions

Definition at line 127 of file MockPostgreSQLPlatform.php.

◆ initializeDoctrineTypeMappings()

TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform\MockPostgreSQLPlatform::initializeDoctrineTypeMappings ( )
protected

Lazy load Doctrine Type Mappings.

Definition at line 118 of file MockPostgreSQLPlatform.php.