PHP 클래스 Doctrine\DBAL\Platforms\DB2Platform

상속: extends Doctrine\DBAL\Platforms\AbstractPlatform
파일 보기 프로젝트 열기: doctrine/dbal 1 사용 예제들

공개 메소드들

메소드 설명
getAlterTableSQL ( Doctrine\DBAL\Schema\TableDiff $diff ) {@inheritDoc}
getBigIntTypeDeclarationSQL ( array $columnDef ) {@inheritDoc}
getBinaryDefaultLength ( )
getBinaryMaxLength ( )
getBitAndComparisonExpression ( $value1, $value2 )
getBitOrComparisonExpression ( $value1, $value2 )
getBlobTypeDeclarationSQL ( array $field ) {@inheritDoc}
getBooleanTypeDeclarationSQL ( array $columnDef ) {@inheritDoc}
getClobTypeDeclarationSQL ( array $field ) {@inheritDoc}
getCreateDatabaseSQL ( $database ) {@inheritDoc}
getCreateTemporaryTableSnippetSQL ( ) {@inheritDoc}
getCreateViewSQL ( $name, $sql ) {@inheritDoc}
getCurrentDateSQL ( ) {@inheritDoc}
getCurrentTimeSQL ( ) {@inheritDoc}
getCurrentTimestampSQL ( ) {@inheritDoc}
getDateDiffExpression ( $date1, $date2 )
getDateTimeTypeDeclarationSQL ( array $fieldDeclaration ) {@inheritDoc}
getDateTypeDeclarationSQL ( array $fieldDeclaration ) {@inheritDoc}
getDefaultValueDeclarationSQL ( $field ) {@inheritDoc}
getDropDatabaseSQL ( $database ) {@inheritDoc}
getDropViewSQL ( $name ) {@inheritDoc}
getDummySelectSQL ( ) {@inheritDoc}
getEmptyIdentityInsertSQL ( $tableName, $identifierColumnName ) {@inheritDoc}
getForUpdateSQL ( ) {@inheritDoc}
getIndexDeclarationSQL ( $name, Doctrine\DBAL\Schema\Index $index ) {@inheritDoc}
getIntegerTypeDeclarationSQL ( array $columnDef ) {@inheritDoc}
getListTableColumnsSQL ( string $table, string $database = null ) : string This code fragment is originally from the Zend_Db_Adapter_Db2 class, but has been edited.
getListTableForeignKeysSQL ( $table ) {@inheritDoc}
getListTableIndexesSQL ( $table, $currentDatabase = null ) {@inheritDoc}
getListTablesSQL ( ) {@inheritDoc}
getListViewsSQL ( $database ) {@inheritDoc}
getLocateExpression ( $str, $substr, $startPos = false ) {@inheritDoc}
getName ( ) {@inheritDoc}
getSQLResultCasing ( $column ) {@inheritDoc}
getSmallIntTypeDeclarationSQL ( array $columnDef ) {@inheritDoc}
getSubstringExpression ( $value, $from, $length = null ) {@inheritDoc}
getTemporaryTableName ( $tableName ) {@inheritDoc}
getTimeTypeDeclarationSQL ( array $fieldDeclaration ) {@inheritDoc}
getTruncateTableSQL ( $tableName, $cascade = false )
initializeDoctrineTypeMappings ( ) {@inheritDoc}
isCommentedDoctrineType ( Doctrine\DBAL\Types\Type $doctrineType )
prefersIdentityColumns ( ) {@inheritDoc}
supportsCommentOnStatement ( )
supportsCreateDropDatabase ( ) {@inheritDoc}
supportsIdentityColumns ( ) {@inheritDoc}
supportsReleaseSavepoints ( ) {@inheritDoc}
supportsSavepoints ( ) {@inheritDoc}

보호된 메소드들

메소드 설명
_getCommonIntegerTypeDeclarationSQL ( array $columnDef ) {@inheritDoc}
_getCreateTableSQL ( $tableName, array $columns, array $options = [] ) {@inheritDoc}
doModifyLimitQuery ( $query, $limit, $offset = null ) {@inheritDoc}
getBinaryTypeDeclarationSQLSnippet ( $length, $fixed )
getDateArithmeticIntervalExpression ( $date, $operator, $interval, $unit )
getPreAlterTableIndexForeignKeySQL ( Doctrine\DBAL\Schema\TableDiff $diff ) {@inheritDoc}
getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName )
getReservedKeywordsClass ( ) {@inheritDoc}
getVarcharTypeDeclarationSQLSnippet ( $length, $fixed ) {@inheritDoc}

비공개 메소드들

메소드 설명
gatherAlterColumnSQL ( Doctrine\DBAL\Schema\Table $table, Doctrine\DBAL\Schema\ColumnDiff $columnDiff, array &$sql, array &$queryParts ) Gathers the table alteration SQL for a given column diff.
getAlterColumnClausesSQL ( Doctrine\DBAL\Schema\ColumnDiff $columnDiff ) : array Returns the ALTER COLUMN SQL clauses for altering a column described by the given column diff.

메소드 상세

_getCommonIntegerTypeDeclarationSQL() 보호된 메소드

{@inheritDoc}
protected _getCommonIntegerTypeDeclarationSQL ( array $columnDef )
$columnDef array

_getCreateTableSQL() 보호된 메소드

{@inheritDoc}
protected _getCreateTableSQL ( $tableName, array $columns, array $options = [] )
$columns array
$options array

doModifyLimitQuery() 보호된 메소드

{@inheritDoc}
protected doModifyLimitQuery ( $query, $limit, $offset = null )

getAlterTableSQL() 공개 메소드

{@inheritDoc}
public getAlterTableSQL ( Doctrine\DBAL\Schema\TableDiff $diff )
$diff Doctrine\DBAL\Schema\TableDiff

getBigIntTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getBigIntTypeDeclarationSQL ( array $columnDef )
$columnDef array

getBinaryDefaultLength() 공개 메소드

getBinaryMaxLength() 공개 메소드

public getBinaryMaxLength ( )

getBinaryTypeDeclarationSQLSnippet() 보호된 메소드

protected getBinaryTypeDeclarationSQLSnippet ( $length, $fixed )

getBitAndComparisonExpression() 공개 메소드

public getBitAndComparisonExpression ( $value1, $value2 )

getBitOrComparisonExpression() 공개 메소드

public getBitOrComparisonExpression ( $value1, $value2 )

getBlobTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getBlobTypeDeclarationSQL ( array $field )
$field array

getBooleanTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getBooleanTypeDeclarationSQL ( array $columnDef )
$columnDef array

getClobTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getClobTypeDeclarationSQL ( array $field )
$field array

getCreateDatabaseSQL() 공개 메소드

{@inheritDoc}
public getCreateDatabaseSQL ( $database )

getCreateTemporaryTableSnippetSQL() 공개 메소드

{@inheritDoc}

getCreateViewSQL() 공개 메소드

{@inheritDoc}
public getCreateViewSQL ( $name, $sql )

getCurrentDateSQL() 공개 메소드

{@inheritDoc}
public getCurrentDateSQL ( )

getCurrentTimeSQL() 공개 메소드

{@inheritDoc}
public getCurrentTimeSQL ( )

getCurrentTimestampSQL() 공개 메소드

{@inheritDoc}

getDateArithmeticIntervalExpression() 보호된 메소드

protected getDateArithmeticIntervalExpression ( $date, $operator, $interval, $unit )

getDateDiffExpression() 공개 메소드

public getDateDiffExpression ( $date1, $date2 )

getDateTimeTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getDateTimeTypeDeclarationSQL ( array $fieldDeclaration )
$fieldDeclaration array

getDateTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getDateTypeDeclarationSQL ( array $fieldDeclaration )
$fieldDeclaration array

getDefaultValueDeclarationSQL() 공개 메소드

{@inheritDoc}
public getDefaultValueDeclarationSQL ( $field )

getDropDatabaseSQL() 공개 메소드

{@inheritDoc}
public getDropDatabaseSQL ( $database )

getDropViewSQL() 공개 메소드

{@inheritDoc}
public getDropViewSQL ( $name )

getDummySelectSQL() 공개 메소드

{@inheritDoc}
public getDummySelectSQL ( )

getEmptyIdentityInsertSQL() 공개 메소드

{@inheritDoc}
public getEmptyIdentityInsertSQL ( $tableName, $identifierColumnName )

getForUpdateSQL() 공개 메소드

{@inheritDoc}
public getForUpdateSQL ( )

getIndexDeclarationSQL() 공개 메소드

{@inheritDoc}
public getIndexDeclarationSQL ( $name, Doctrine\DBAL\Schema\Index $index )
$index Doctrine\DBAL\Schema\Index

getIntegerTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getIntegerTypeDeclarationSQL ( array $columnDef )
$columnDef array

getListTableColumnsSQL() 공개 메소드

This code fragment is originally from the Zend_Db_Adapter_Db2 class, but has been edited.
public getListTableColumnsSQL ( string $table, string $database = null ) : string
$table string
$database string
리턴 string

getListTableForeignKeysSQL() 공개 메소드

{@inheritDoc}
public getListTableForeignKeysSQL ( $table )

getListTableIndexesSQL() 공개 메소드

{@inheritDoc}
public getListTableIndexesSQL ( $table, $currentDatabase = null )

getListTablesSQL() 공개 메소드

{@inheritDoc}
public getListTablesSQL ( )

getListViewsSQL() 공개 메소드

{@inheritDoc}
public getListViewsSQL ( $database )

getLocateExpression() 공개 메소드

{@inheritDoc}
public getLocateExpression ( $str, $substr, $startPos = false )

getName() 공개 메소드

{@inheritDoc}
public getName ( )

getPreAlterTableIndexForeignKeySQL() 보호된 메소드

{@inheritDoc}
protected getPreAlterTableIndexForeignKeySQL ( Doctrine\DBAL\Schema\TableDiff $diff )
$diff Doctrine\DBAL\Schema\TableDiff

getRenameIndexSQL() 보호된 메소드

protected getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName )
$index Doctrine\DBAL\Schema\Index

getReservedKeywordsClass() 보호된 메소드

{@inheritDoc}
protected getReservedKeywordsClass ( )

getSQLResultCasing() 공개 메소드

DB2 returns all column names in SQL result sets in uppercase.
public getSQLResultCasing ( $column )

getSmallIntTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getSmallIntTypeDeclarationSQL ( array $columnDef )
$columnDef array

getSubstringExpression() 공개 메소드

{@inheritDoc}
public getSubstringExpression ( $value, $from, $length = null )

getTemporaryTableName() 공개 메소드

{@inheritDoc}
public getTemporaryTableName ( $tableName )

getTimeTypeDeclarationSQL() 공개 메소드

{@inheritDoc}
public getTimeTypeDeclarationSQL ( array $fieldDeclaration )
$fieldDeclaration array

getTruncateTableSQL() 공개 메소드

public getTruncateTableSQL ( $tableName, $cascade = false )

getVarcharTypeDeclarationSQLSnippet() 보호된 메소드

{@inheritDoc}
protected getVarcharTypeDeclarationSQLSnippet ( $length, $fixed )

initializeDoctrineTypeMappings() 공개 메소드

{@inheritDoc}

isCommentedDoctrineType() 공개 메소드

public isCommentedDoctrineType ( Doctrine\DBAL\Types\Type $doctrineType )
$doctrineType Doctrine\DBAL\Types\Type

prefersIdentityColumns() 공개 메소드

{@inheritDoc}

supportsCommentOnStatement() 공개 메소드

supportsCreateDropDatabase() 공개 메소드

{@inheritDoc}

supportsIdentityColumns() 공개 메소드

{@inheritDoc}

supportsReleaseSavepoints() 공개 메소드

{@inheritDoc}

supportsSavepoints() 공개 메소드

DB2 supports savepoints, but they work semantically different than on other vendor platforms. TODO: We have to investigate how to get DB2 up and running with savepoints.
public supportsSavepoints ( )