Class | Description |
---|---|
![]() |
Defines a database constraint. |
Check constraint source
True if constraint is deferrable
True if constraint is initially deferred
Action to take on delete
Array of table field names in constraint
Array of referenced foreign key fieldnames
Foreign key table name constraint refers to
Match type for keys
Name of table constraint is applied to
Type of constraint 'c' - check, 'p' - pk, 'f' - fk
Action to take on update
Inherited from SchemaObject
SchemaObject::$name
SchemaObject::$schema
Return SQL required to create this constraint outside the table
Return SQL required to create this as an inline table constraint
Acquires the schema from database metadata.
NB: Override this function to get schema info per DB type.
Set constraint variables.
Inherited From SchemaObject
SchemaObject::SchemaObject()
Documentation generated by phpDocumentor 1.3.0RC3