Parses SQL schema statements for comparison to real table structures
Located in /includes/class.bp-sql-schema-parser.php (line 7)
Evaluates the difference between a given set of SQL queries and real database structure
Returns a table structure from a raw sql query of the form "CREATE TABLE foo" etc.
The resulting array contains the original query, the columns as would be returned by DESCRIBE `foo` and the indices as would be returned by SHOW INDEX FROM `foo` on a real table
Builds a column definition as used in CREATE TABLE statements from
an array such as those returned by DESCRIBE `foo` statements
Builds an index definition as used in CREATE TABLE statements from
an array similar to those returned by SHOW INDEX FROM `foo` statements
Splits grouped SQL statements into queries within a highly structured array
Only supports CREATE TABLE, INSERT and UPDATE
Helper function to flatten arrays
Documentation generated on Fri, 18 May 2012 01:33:41 +0100 by phpDocumentor 1.4.3