Fully Qualified Name: | Zend\Db\Metadata\Object\ConstraintObject |
Constructor
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$tableName | string | |
$schemaName | string |
Returns:
Get Check Clause.
Returns: string
Get Columns.
Returns: string[]
Get Delete Rule.
Returns: string
Get Match Option.
Returns: string
Get name
Returns: string
Get Referenced Columns.
Returns: string[]
Get Referenced Table Name.
Returns: string
Get Referenced Table Schema.
Returns: string
Get schema name
Returns: string
Get table name
Returns: string
Get type
Returns: string
Get Update Rule.
Returns: string
Returns: void
Is foreign key
Returns: bool
Is foreign key
Returns: bool
Is primary key
Returns: bool
Is unique key
Returns: bool
Set Check Clause.
Parameter Name | Type | Description |
---|---|---|
$checkClause | string |
Returns: self Provides a fluent interface
Set Columns.
Parameter Name | Type | Description |
---|---|---|
$columns | string[] |
Returns: self Provides a fluent interface
Set Delete Rule.
Parameter Name | Type | Description |
---|---|---|
$deleteRule | string |
Returns: self Provides a fluent interface
Set Match Option.
Parameter Name | Type | Description |
---|---|---|
$matchOption | string |
Returns: self Provides a fluent interface
Set name
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns:
Set Referenced Columns.
Parameter Name | Type | Description |
---|---|---|
$referencedColumns | string[] |
Returns: self Provides a fluent interface
Set Referenced Table Name.
Parameter Name | Type | Description |
---|---|---|
$referencedTableName | string |
Returns: self Provides a fluent interface
Set Referenced Table Schema.
Parameter Name | Type | Description |
---|---|---|
$referencedTableSchema | string |
Returns: self Provides a fluent interface
Set schema name
Parameter Name | Type | Description |
---|---|---|
$schemaName | string |
Returns:
Set table name
Parameter Name | Type | Description |
---|---|---|
$tableName | string |
Returns: self Provides a fluent interface
Set type
Parameter Name | Type | Description |
---|---|---|
$type | string |
Returns:
Set Update Rule.
Parameter Name | Type | Description |
---|---|---|
$updateRule | string |
Returns: self Provides a fluent interface