2 namespace TYPO3\CMS\Dbal\Database\Specifics;
116 $this->nativeToMetaFieldTypeMap = array_merge($this->nativeToMetaFieldTypeMap, $this->nativeToMetaFieldTypeOverrides);
117 $this->metaToNativeFieldTypeMap = array_merge($this->metaToNativeFieldTypeMap, $this->metaToNativeFieldTypeOverrides);
128 return isset($this->specificProperties[$specific]);
139 return $this->specificProperties[$specific];
152 return array($expressionList);
155 return array_chunk($expressionList, $this->
getSpecific(self::LIST_MAXEXPRESSIONS), $preserveArrayKeys);
173 if (strlen($identifier) > $maxLength) {
175 $identifier = substr($identifier, 0, $maxLength - $truncateChars) .
'_' . substr(sha1($identifier), 0, $truncateChars - 1);
192 public function transformQueryParts(&$select_fields, &$from_table, &$where_clause, &$groupBy =
'', &$orderBy =
'', &$limit =
'')
209 $fieldRow[
'Field'] = $fieldRow[
'name'];
210 $fieldRow[
'Type'] = strtolower($mysqlType);
227 $metaType = strtoupper($metaType);
228 return empty($this->metaToNativeFieldTypeMap[$metaType]) ? $metaType : $this->metaToNativeFieldTypeMap[$metaType];
239 $nativeType = strtoupper($nativeType);
240 return empty($this->nativeToMetaFieldTypeMap[$nativeType]) ?
'N' : $this->nativeToMetaFieldTypeMap[$nativeType];
252 if ($maxLength === -1) {
255 switch ($mysqlType) {
259 return '(' . $maxLength .
')';
271 return (
bool)$notNull ?
'NO' :
'YES';
282 return $fieldDefinition[
'default_value'];