DALAlterParser.
ALTER TABLE query parser.
- Since
- 4.0.0
Definition at line 23 of file DALAlterParser.inc.
static parse |
( |
DomElement |
$xmlQuery | ) |
|
|
static |
Parses the ALTER TABLE query.
- Parameters
-
DomElement | $xmlQuery | The ALTER TABLE query. |
- Since
- 4.0.0
- Returns
- array
Definition at line 49 of file DALAlterParser.inc.
static validate |
( |
DomElement |
$query | ) |
|
|
static |
Validates single ALTER TABLE query.
Throws DALParserException if:
- Alter tag does not have table attribute or children.
- add-column and modify-column tag has invalid columns.
- rename-column tag does not have value or column attribute.
- add-constraint tag has invalid constraints.
- drop-constraint tag does not have a value
- Parameters
-
DomElement | $query | Alter table element. |
- Since
- 4.0.0
- Returns
- void
- Exceptions
-
Definition at line 115 of file DALAlterParser.inc.
The documentation for this class was generated from the following file: