Метод | Описание | |
---|---|---|
convertBooleans ( $item ) | {@inheritDoc} | |
convertBooleansToDatabaseValue ( $item ) | {@inheritDoc} | |
convertFromBoolean ( $item ) | {@inheritDoc} | |
getAdvancedForeignKeyOptionsSQL ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey ) | {@inheritDoc} | |
getAlterSequenceSQL ( Doctrine\DBAL\Schema\Sequence $sequence ) | {@inheritDoc} | |
getAlterTableSQL ( Doctrine\DBAL\Schema\TableDiff $diff ) | {@inheritDoc} | |
getBigIntTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getBinaryDefaultLength ( ) | ||
getBinaryMaxLength ( ) | ||
getBlobTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getBooleanTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getClobTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getCloseActiveDatabaseConnectionsSQL ( string $database ) : string | Returns the SQL statement for closing currently active connections on the given database. | |
getCommentOnColumnSQL ( $tableName, $columnName, $comment ) | ||
getCreateDatabaseSQL ( $name ) | {@inheritDoc} | |
getCreateSchemaSQL ( $schemaName ) | {@inheritDoc} | |
getCreateSequenceSQL ( Doctrine\DBAL\Schema\Sequence $sequence ) | {@inheritDoc} | |
getCreateViewSQL ( $name, $sql ) | {@inheritDoc} | |
getDateDiffExpression ( $date1, $date2 ) | {@inheritDoc} | |
getDateTimeTypeDeclarationSQL ( array $fieldDeclaration ) | {@inheritDoc} | |
getDateTimeTzFormatString ( ) | {@inheritDoc} | |
getDateTimeTzTypeDeclarationSQL ( array $fieldDeclaration ) | {@inheritDoc} | |
getDateTypeDeclarationSQL ( array $fieldDeclaration ) | {@inheritDoc} | |
getDefaultSchemaName ( ) | ||
getDisallowDatabaseConnectionsSQL ( string $database ) : string | Returns the SQL statement for disallowing new connections on the given database. | |
getDropForeignKeySQL ( $foreignKey, $table ) | {@inheritDoc} | |
getDropSequenceSQL ( $sequence ) | {@inheritDoc} | |
getDropViewSQL ( $name ) | {@inheritDoc} | |
getEmptyIdentityInsertSQL ( $quotedTableName, $quotedIdentifierColumnName ) | {@inheritDoc} | |
getGuidExpression ( ) | {@inheritDoc} | |
getGuidTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getIdentitySequenceName ( $tableName, $columnName ) | ||
getIntegerTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getListDatabasesSQL ( ) | {@inheritDoc} | |
getListNamespacesSQL ( ) | {@inheritDoc} | |
getListSequencesSQL ( $database ) | {@inheritDoc} | |
getListTableColumnsSQL ( $table, $database = null ) | {@inheritDoc} | |
getListTableConstraintsSQL ( $table ) | {@inheritDoc} | |
getListTableForeignKeysSQL ( $table, $database = null ) | {@inheritDoc} | |
getListTableIndexesSQL ( $table, $currentDatabase = null ) | {@inheritDoc} | |
getListTablesSQL ( ) | {@inheritDoc} | |
getListViewsSQL ( $database ) | {@inheritDoc} | |
getLocateExpression ( $str, $substr, $startPos = false ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
getNowExpression ( ) | {@inheritDoc} | |
getReadLockSQL ( ) | {@inheritDoc} | |
getRegexpExpression ( ) | {@inheritDoc} | |
getSQLResultCasing ( $column ) | {@inheritDoc} | |
getSequenceNextValSQL ( $sequenceName ) | {@inheritDoc} | |
getSetTransactionIsolationSQL ( $level ) | {@inheritDoc} | |
getSmallIntTypeDeclarationSQL ( array $field ) | {@inheritDoc} | |
getSubstringExpression ( $value, $from, $length = null ) | {@inheritDoc} | |
getTimeTypeDeclarationSQL ( array $fieldDeclaration ) | {@inheritDoc} | |
getTruncateTableSQL ( $tableName, $cascade = false ) | {@inheritDoc} | |
getVarcharMaxLength ( ) | {@inheritDoc} | |
hasNativeGuidType ( ) | {@inheritDoc} | |
prefersSequences ( ) | {@inheritDoc} | |
quoteStringLiteral ( $str ) | ||
setUseBooleanTrueFalseStrings ( boolean $flag ) | PostgreSQL has different behavior with some drivers with regard to how booleans have to be handled. | |
supportsCommentOnStatement ( ) | {@inheritDoc} | |
supportsIdentityColumns ( ) | {@inheritDoc} | |
supportsPartialIndexes ( ) | ||
supportsSchemas ( ) | {@inheritDoc} | |
supportsSequences ( ) | {@inheritDoc} | |
usesSequenceEmulatedIdentityColumns ( ) |
Метод | Описание | |
---|---|---|
_getCommonIntegerTypeDeclarationSQL ( array $columnDef ) | {@inheritDoc} | |
_getCreateTableSQL ( $tableName, array $columns, array $options = [] ) | {@inheritDoc} | |
getBinaryTypeDeclarationSQLSnippet ( $length, $fixed ) | ||
getDateArithmeticIntervalExpression ( $date, $operator, $interval, $unit ) | ||
getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName ) | ||
getReservedKeywordsClass ( ) | {@inheritDoc} | |
getVarcharTypeDeclarationSQLSnippet ( $length, $fixed ) | {@inheritDoc} | |
initializeDoctrineTypeMappings ( ) | {@inheritDoc} |
Метод | Описание | |
---|---|---|
convertSingleBooleanValue ( mixed $value, callable $callback ) : mixed | Converts a single boolean value. | |
doConvertBooleans ( mixed $item, callable $callback ) : mixed | Converts one or multiple boolean values. | |
getSequenceCacheSQL ( Doctrine\DBAL\Schema\Sequence $sequence ) : string | Cache definition for sequences | |
getTableWhereClause ( string $table, string $classAlias = 'c', string $namespaceAlias = 'n' ) : string | ||
isUnchangedBinaryColumn ( Doctrine\DBAL\Schema\ColumnDiff $columnDiff ) : boolean | Checks whether a given column diff is a logically unchanged binary type column. |
protected _getCommonIntegerTypeDeclarationSQL ( array $columnDef ) | ||
$columnDef | array |
protected _getCreateTableSQL ( $tableName, array $columns, array $options = [] ) | ||
$columns | array | |
$options | array |
public convertBooleans ( $item ) |
public convertBooleansToDatabaseValue ( $item ) |
public getAdvancedForeignKeyOptionsSQL ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey ) | ||
$foreignKey | Doctrine\DBAL\Schema\ForeignKeyConstraint |
public getAlterSequenceSQL ( Doctrine\DBAL\Schema\Sequence $sequence ) | ||
$sequence | Doctrine\DBAL\Schema\Sequence |
public getAlterTableSQL ( Doctrine\DBAL\Schema\TableDiff $diff ) | ||
$diff | Doctrine\DBAL\Schema\TableDiff |
public getBigIntTypeDeclarationSQL ( array $field ) | ||
$field | array |
protected getBinaryTypeDeclarationSQLSnippet ( $length, $fixed ) |
public getBlobTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getBooleanTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getClobTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getCloseActiveDatabaseConnectionsSQL ( string $database ) : string | ||
$database | string | The name of the database to close currently active connections for. |
Результат | string |
public getCommentOnColumnSQL ( $tableName, $columnName, $comment ) |
public getCreateSequenceSQL ( Doctrine\DBAL\Schema\Sequence $sequence ) | ||
$sequence | Doctrine\DBAL\Schema\Sequence |
protected getDateArithmeticIntervalExpression ( $date, $operator, $interval, $unit ) |
public getDateDiffExpression ( $date1, $date2 ) |
public getDateTimeTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getDateTimeTzTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getDateTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getDisallowDatabaseConnectionsSQL ( string $database ) : string | ||
$database | string | The name of the database to disallow new connections for. |
Результат | string |
public getDropForeignKeySQL ( $foreignKey, $table ) |
public getEmptyIdentityInsertSQL ( $quotedTableName, $quotedIdentifierColumnName ) |
public getGuidTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getIdentitySequenceName ( $tableName, $columnName ) |
public getIntegerTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getListTableColumnsSQL ( $table, $database = null ) |
public getListTableConstraintsSQL ( $table ) |
public getListTableForeignKeysSQL ( $table, $database = null ) |
public getListTableIndexesSQL ( $table, $currentDatabase = null ) |
public getLocateExpression ( $str, $substr, $startPos = false ) |
protected getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName ) | ||
$index | Doctrine\DBAL\Schema\Index |
public getSQLResultCasing ( $column ) |
public getSequenceNextValSQL ( $sequenceName ) |
public getSetTransactionIsolationSQL ( $level ) |
public getSmallIntTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getSubstringExpression ( $value, $from, $length = null ) |
public getTimeTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getTruncateTableSQL ( $tableName, $cascade = false ) |
protected getVarcharTypeDeclarationSQLSnippet ( $length, $fixed ) |
protected initializeDoctrineTypeMappings ( ) |
public setUseBooleanTrueFalseStrings ( boolean $flag ) | ||
$flag | boolean |
public usesSequenceEmulatedIdentityColumns ( ) |