‪TYPO3CMS  9.5
TYPO3\CMS\Core\Database\Platform\PlatformInformation Class Reference

Static Public Member Functions

static int getMaxIdentifierLength (AbstractPlatform $platform)
 
static int getMaxBindParameters (AbstractPlatform $platform)
 

Static Protected Member Functions

static string getPlatformIdentifier (AbstractPlatform $platform)
 

Static Protected Attributes

static array $identifierLimits
 
static array $bindParameterLimits
 

Detailed Description

Helper to handle platform specific details

Definition at line 30 of file PlatformInformation.php.

Member Function Documentation

◆ getMaxBindParameters()

◆ getMaxIdentifierLength()

static int TYPO3\CMS\Core\Database\Platform\PlatformInformation::getMaxIdentifierLength ( AbstractPlatform  $platform)
static

◆ getPlatformIdentifier()

static string TYPO3\CMS\Core\Database\Platform\PlatformInformation::getPlatformIdentifier ( AbstractPlatform  $platform)
staticprotected

Return the platform shortname to use as a lookup key

Parameters
\Doctrine\DBAL\Platforms\AbstractPlatform$platform
Returns
‪string
Exceptions

Definition at line 86 of file PlatformInformation.php.

Member Data Documentation

◆ $bindParameterLimits

array TYPO3\CMS\Core\Database\Platform\PlatformInformation::$bindParameterLimits
staticprotected
Initial value:
= array(
'mysql' => 65535,
'postgresql' => 34464,
'sqlserver' => 2100,
'sqlite' => 999,
)

Definition at line 43 of file PlatformInformation.php.

◆ $identifierLimits

array TYPO3\CMS\Core\Database\Platform\PlatformInformation::$identifierLimits
staticprotected
Initial value:
= array(
'mysql' => 63,
'postgresql' => 63,
'sqlserver' => 128,
'sqlite' => 1024,
)

Definition at line 34 of file PlatformInformation.php.