Class AlterTable

Summary

Fully Qualified Name: Zend\Db\Sql\Ddl\AlterTable
Extends: AbstractSql
Implements: SqlInterface

Description

Methods

Name Description Defined By
__construct() AlterTable
addColumn() AlterTable
addConstraint() AlterTable
changeColumn() AlterTable
dropColumn() AlterTable
dropConstraint() AlterTable
getRawState() AlterTable
getSqlString() {@inheritDoc} AbstractSql
setTable() AlterTable

Method Details

__construct()

Parameter Name Type Description
$table string|\TableIdentifier

Returns:

addColumn()

Parameter Name Type Description
$column \Column\ColumnInterface

Returns: self Provides a fluent interface

addConstraint()

Parameter Name Type Description
$constraint \Constraint\ConstraintInterface

Returns: self Provides a fluent interface

changeColumn()

Parameter Name Type Description
$name string
$column \Column\ColumnInterface

Returns: self Provides a fluent interface

dropColumn()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

dropConstraint()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

getRawState()

Parameter Name Type Description
$key string|null

Returns: array

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

setTable()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

Top