ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:executeschema

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

v5/axmls/executeschema.txt · Last modified: 2016/01/13 02:26 by mnewnham