executeSchema

Syntax
integer executeSchema (
  optional array $sqlArray = NULL,
  optional boolean $continueOnErr = NULL
  )

Description

Applies the current XML schema to the database (post execution).

Call this method to apply the current schema (generally created by calling ParseSchema() or ParseSchemaString() ) to the database (creating the tables, indexes, and executing other SQL specified in the schema) after parsing.

Return Values

ValueDescription
0Failure
1Error
2Success

Note

This function is simply a wrapper for executeSqlArray