http://pear.php.net/package/MDB2_Schema
PEAR::MDB2_Schema enables users to maintain RDBMS independant schema files in XML that can be used to create, alter and drop database entities and insert data into a database.
This page is intended to be a common place for MDB2_Schema development discussion.
If you have any feature request and/or comment regarding this package please place them here.
+++ Complete XML syntax including UPDATEs and DELETEs addition
?
?
?
?
{fieldDef}+
{index}*
{field}+
*
{field}+
{where}?
*
{where}
*
+
?
?
+
?
?
?
** Inner Elements LEVEL 1 **
* {fieldDef} is:
* {index} is:
?
?
?
+
* {field} is:
or or {function} or {expression}
* {where} is:
{expression}
** Inner Elements LEVEL 2 **
* {function} is:
* or * or {function}* or {expression}*
* {expression} is:
* Some Operators example:
# NOT, AND, OR, XOR
# EQUAL, LIKE, LESS THAN, GREATER THAN
# IS NULL, BETWEEN
# etc.
or or {function} or {expression}
OPERATOR
or or {function} or {expression}
** Legend **
# {tag} inner element
# stands for STRING
# ? Zero or one
# * Zero or more
# + More than one