Method | Description | |
---|---|---|
appendLockHint ( $fromClause, $lockMode ) | ||
fixSchemaElementName ( $schemaElementName ) | ||
getAdvancedForeignKeyOptionsSQL ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey ) | ||
getAlterTableSQL ( Doctrine\DBAL\Schema\TableDiff $diff ) | ||
getBigIntTypeDeclarationSQL ( array $columnDef ) | ||
getBinaryDefaultLength ( ) | ||
getBinaryMaxLength ( ) | ||
getBlobTypeDeclarationSQL ( array $field ) | ||
getBooleanTypeDeclarationSQL ( array $columnDef ) | ||
getClobTypeDeclarationSQL ( array $field ) | ||
getCommentOnColumnSQL ( $tableName, $columnName, $comment ) | ||
getConcatExpression ( ) | ||
getCreateConstraintSQL ( Doctrine\DBAL\Schema\Constraint $constraint, $table ) | ||
getCreateDatabaseSQL ( $database ) | ||
getCreateIndexSQL ( Doctrine\DBAL\Schema\Index $index, $table ) | ||
getCreatePrimaryKeySQL ( Doctrine\DBAL\Schema\Index $index, $table ) | ||
getCreateTemporaryTableSnippetSQL ( ) | ||
getCreateViewSQL ( $name, $sql ) | ||
getCurrentDateSQL ( ) | ||
getCurrentTimeSQL ( ) | ||
getCurrentTimestampSQL ( ) | ||
getDateDiffExpression ( $date1, $date2 ) | ||
getDateTimeFormatString ( ) | ||
getDateTimeTypeDeclarationSQL ( array $fieldDeclaration ) | ||
getDateTimeTzFormatString ( ) | ||
getDateTypeDeclarationSQL ( array $fieldDeclaration ) | ||
getDefaultTransactionIsolationLevel ( ) | ||
getDropDatabaseSQL ( $database ) | ||
getDropIndexSQL ( $index, $table = null ) | ||
getDropViewSQL ( $name ) | ||
getForUpdateSQL ( ) | ||
getForeignKeyBaseDeclarationSQL ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey ) | ||
getForeignKeyMatchClauseSQL ( integer $type ) : string | Returns foreign key MATCH clause for given type. | |
getForeignKeyReferentialActionSQL ( $action ) | ||
getGuidExpression ( ) | ||
getGuidTypeDeclarationSQL ( array $field ) | ||
getIndexDeclarationSQL ( $name, Doctrine\DBAL\Schema\Index $index ) | ||
getIntegerTypeDeclarationSQL ( array $columnDef ) | ||
getListDatabasesSQL ( ) | ||
getListTableColumnsSQL ( $table, $database = null ) | ||
getListTableConstraintsSQL ( $table ) | ||
getListTableForeignKeysSQL ( $table ) | ||
getListTableIndexesSQL ( $table, $currentDatabase = null ) | ||
getListTablesSQL ( ) | ||
getListUsersSQL ( ) | ||
getListViewsSQL ( $database ) | ||
getLocateExpression ( $str, $substr, $startPos = false ) | ||
getMaxIdentifierLength ( ) | ||
getMd5Expression ( $column ) | ||
getName ( ) | ||
getPrimaryKeyDeclarationSQL ( Doctrine\DBAL\Schema\Index $index, string $name = null ) : string | Obtain DBMS specific SQL code portion needed to set a primary key declaration to be used in statements like ALTER TABLE. | |
getSetTransactionIsolationSQL ( $level ) | ||
getSmallIntTypeDeclarationSQL ( array $columnDef ) | ||
getStartDatabaseSQL ( string $database ) : string | Returns the SQL statement for starting an existing database. | |
getStopDatabaseSQL ( string $database ) : string | Returns the SQL statement for stopping a running database. | |
getSubstringExpression ( $value, $from, $length = null ) | ||
getTemporaryTableSQL ( ) | ||
getTimeFormatString ( ) | ||
getTimeTypeDeclarationSQL ( array $fieldDeclaration ) | ||
getTrimExpression ( $str, $pos = self::TRIM_UNSPECIFIED, $char = false ) | ||
getTruncateTableSQL ( $tableName, $cascade = false ) | ||
getUniqueConstraintDeclarationSQL ( $name, Doctrine\DBAL\Schema\Index $index ) | ||
getVarcharDefaultLength ( ) | ||
getVarcharMaxLength ( ) | ||
hasNativeGuidType ( ) | ||
prefersIdentityColumns ( ) | ||
supportsCommentOnStatement ( ) | ||
supportsIdentityColumns ( ) |
Method | Description | |
---|---|---|
_getCommonIntegerTypeDeclarationSQL ( array $columnDef ) | ||
_getCreateTableSQL ( $tableName, array $columns, array $options = [] ) | ||
_getTransactionIsolationLevelSQL ( $level ) | ||
doModifyLimitQuery ( $query, $limit, $offset ) | ||
getAdvancedIndexOptionsSQL ( Doctrine\DBAL\Schema\Index $index ) : string | Return the INDEX query section dealing with non-standard SQL Anywhere options. | |
getAlterTableAddColumnClause ( Doctrine\DBAL\Schema\Column $column ) : string | Returns the SQL clause for creating a column in a table alteration. | |
getAlterTableChangeColumnClause ( Doctrine\DBAL\Schema\ColumnDiff $columnDiff ) : string | null | Returns the SQL clause for altering a column in a table alteration. | |
getAlterTableClause ( Doctrine\DBAL\Schema\Identifier $tableName ) : string | Returns the SQL clause for altering a table. | |
getAlterTableRemoveColumnClause ( Doctrine\DBAL\Schema\Column $column ) : string | Returns the SQL clause for dropping a column in a table alteration. | |
getAlterTableRenameColumnClause ( string $oldColumnName, Doctrine\DBAL\Schema\Column $column ) : string | Returns the SQL clause for renaming a column in a table alteration. | |
getAlterTableRenameTableClause ( Doctrine\DBAL\Schema\Identifier $newTableName ) : string | Returns the SQL clause for renaming a table in a table alteration. | |
getBinaryTypeDeclarationSQLSnippet ( $length, $fixed ) | ||
getCreateIndexSQLFlags ( Doctrine\DBAL\Schema\Index $index ) | ||
getDateArithmeticIntervalExpression ( $date, $operator, $interval, $unit ) | ||
getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName ) | ||
getReservedKeywordsClass ( ) | ||
getTableConstraintDeclarationSQL ( Doctrine\DBAL\Schema\Constraint $constraint, string | null $name = null ) : string | Returns the SQL snippet for creating a table constraint. | |
getVarcharTypeDeclarationSQLSnippet ( $length, $fixed ) | ||
initializeDoctrineTypeMappings ( ) |
protected _getCommonIntegerTypeDeclarationSQL ( array $columnDef ) | ||
$columnDef | array |
protected _getCreateTableSQL ( $tableName, array $columns, array $options = [] ) | ||
$columns | array | |
$options | array |
protected _getTransactionIsolationLevelSQL ( $level ) |
public fixSchemaElementName ( $schemaElementName ) |
public getAdvancedForeignKeyOptionsSQL ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey ) | ||
$foreignKey | Doctrine\DBAL\Schema\ForeignKeyConstraint |
protected getAdvancedIndexOptionsSQL ( Doctrine\DBAL\Schema\Index $index ) : string | ||
$index | Doctrine\DBAL\Schema\Index | Index definition |
return | string |
protected getAlterTableAddColumnClause ( Doctrine\DBAL\Schema\Column $column ) : string | ||
$column | Doctrine\DBAL\Schema\Column | The column to add. |
return | string |
protected getAlterTableChangeColumnClause ( Doctrine\DBAL\Schema\ColumnDiff $columnDiff ) : string | null | ||
$columnDiff | Doctrine\DBAL\Schema\ColumnDiff | The diff of the column to alter. |
return | string | null |
protected getAlterTableClause ( Doctrine\DBAL\Schema\Identifier $tableName ) : string | ||
$tableName | Doctrine\DBAL\Schema\Identifier | The quoted name of the table to alter. |
return | string |
protected getAlterTableRemoveColumnClause ( Doctrine\DBAL\Schema\Column $column ) : string | ||
$column | Doctrine\DBAL\Schema\Column | The column to drop. |
return | string |
protected getAlterTableRenameColumnClause ( string $oldColumnName, Doctrine\DBAL\Schema\Column $column ) : string | ||
$oldColumnName | string | The quoted name of the column to rename. |
$column | Doctrine\DBAL\Schema\Column | The column to rename to. |
return | string |
protected getAlterTableRenameTableClause ( Doctrine\DBAL\Schema\Identifier $newTableName ) : string | ||
$newTableName | Doctrine\DBAL\Schema\Identifier | The quoted name of the table to rename to. |
return | string |
public getAlterTableSQL ( Doctrine\DBAL\Schema\TableDiff $diff ) | ||
$diff | Doctrine\DBAL\Schema\TableDiff |
public getBigIntTypeDeclarationSQL ( array $columnDef ) | ||
$columnDef | array |
protected getBinaryTypeDeclarationSQLSnippet ( $length, $fixed ) |
public getBlobTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getBooleanTypeDeclarationSQL ( array $columnDef ) | ||
$columnDef | array |
public getClobTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getCommentOnColumnSQL ( $tableName, $columnName, $comment ) |
public getCreateConstraintSQL ( Doctrine\DBAL\Schema\Constraint $constraint, $table ) | ||
$constraint | Doctrine\DBAL\Schema\Constraint |
public getCreateIndexSQL ( Doctrine\DBAL\Schema\Index $index, $table ) | ||
$index | Doctrine\DBAL\Schema\Index |
protected getCreateIndexSQLFlags ( Doctrine\DBAL\Schema\Index $index ) | ||
$index | Doctrine\DBAL\Schema\Index |
public getCreatePrimaryKeySQL ( Doctrine\DBAL\Schema\Index $index, $table ) | ||
$index | Doctrine\DBAL\Schema\Index |
protected getDateArithmeticIntervalExpression ( $date, $operator, $interval, $unit ) |
public getDateTimeTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getDateTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getForeignKeyBaseDeclarationSQL ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey ) | ||
$foreignKey | Doctrine\DBAL\Schema\ForeignKeyConstraint |
public getForeignKeyMatchClauseSQL ( integer $type ) : string | ||
$type | integer | The foreign key match type |
return | string |
public getForeignKeyReferentialActionSQL ( $action ) |
public getGuidTypeDeclarationSQL ( array $field ) | ||
$field | array |
public getIndexDeclarationSQL ( $name, Doctrine\DBAL\Schema\Index $index ) | ||
$index | Doctrine\DBAL\Schema\Index |
public getIntegerTypeDeclarationSQL ( array $columnDef ) | ||
$columnDef | array |
public getListTableIndexesSQL ( $table, $currentDatabase = null ) |
public getPrimaryKeyDeclarationSQL ( Doctrine\DBAL\Schema\Index $index, string $name = null ) : string | ||
$index | Doctrine\DBAL\Schema\Index | Index definition |
$name | string | Name of the primary key |
return | string | DBMS specific SQL code portion needed to set a primary key |
protected getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName ) | ||
$index | Doctrine\DBAL\Schema\Index |
public getSmallIntTypeDeclarationSQL ( array $columnDef ) | ||
$columnDef | array |
public getStartDatabaseSQL ( string $database ) : string | ||
$database | string | Name of the database to start. |
return | string |
public getStopDatabaseSQL ( string $database ) : string | ||
$database | string | Name of the database to stop. |
return | string |
public getSubstringExpression ( $value, $from, $length = null ) |
public getTimeTypeDeclarationSQL ( array $fieldDeclaration ) | ||
$fieldDeclaration | array |
public getTrimExpression ( $str, $pos = self::TRIM_UNSPECIFIED, $char = false ) |
public getUniqueConstraintDeclarationSQL ( $name, Doctrine\DBAL\Schema\Index $index ) | ||
$index | Doctrine\DBAL\Schema\Index |
protected getVarcharTypeDeclarationSQLSnippet ( $length, $fixed ) |