Class CreateTable

Summary

Fully Qualified Name: Laminas\Db\Sql\Ddl\CreateTable
Extends: AbstractSql
Implements: SqlInterface

Description

Methods

Name Description Defined By
__construct() CreateTable
addColumn() CreateTable
addConstraint() CreateTable
getRawState() CreateTable
getSqlString() {@inheritDoc} AbstractSql
isTemporary() CreateTable
setTable() CreateTable
setTemporary() CreateTable

Method Details

__construct()

Parameter Name Type Description
$table string|\TableIdentifier
$isTemporary bool

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

getRawState()

Parameter Name Type Description
$key string|null

Returns: array

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

isTemporary()

Returns: bool

setTable()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

setTemporary()

Parameter Name Type Description
$temporary bool

Returns: self Provides a fluent interface

Top