ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:executeschema

This is an old revision of the document!


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
v5/axmls/executeschema.1447206894.txt.gz · Last modified: 2017/04/21 11:23 (external edit)