Methods
Constructor
__construct(string $name, string $tableName, string $schemaName)
Parameters
$name
string
$tableName
string
$schemaName
string
Get Check Clause.
getCheckClause() : string
Get Columns.
getColumns() : string[]
Get Delete Rule.
getDeleteRule() : string
Get Match Option.
getMatchOption() : string
Get name
getName() : string
Get Referenced Columns.
getReferencedColumns() : string[]
Get Referenced Table Name.
getReferencedTableName() : string
Get Referenced Table Schema.
getReferencedTableSchema() : string
Get schema name
getSchemaName() : string
Get table name
getTableName() : string
Get type
getType() : string
Get Update Rule.
getUpdateRule() : string
hasColumns()
hasColumns()
Is foreign key
isCheck() : bool
Is foreign key
isForeignKey() : bool
Is primary key
isPrimaryKey() : bool
Is unique key
isUnique() : bool
Set name
setName(string $name)
Set schema name
setSchemaName(string $schemaName)
Parameters
$schemaName
string
Set type
setType(string $type)
Properties
$checkClause
$checkClause : string
$columns
$columns : string[]
$deleteRule
$deleteRule : string
$matchOption
$matchOption : string
$referencedColumns
$referencedColumns : string[]
$referencedTableName
$referencedTableName : string
$referencedTableSchema
$referencedTableSchema : string
$schemaName
$schemaName : string
$tableName
$tableName : string
One of "PRIMARY KEY", "UNIQUE", "FOREIGN KEY", or "CHECK"
$type : string
$updateRule
$updateRule : string