ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:executeschema

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
axmls:executeschema [2015/11/05 02:32] – created mnewnhamv5:axmls:executeschema [2016/01/13 02:26] (current) – ↷ Links adapted because of a move operation mnewnham
Line 1: Line 1:
-nteger ExecuteSchema ([array $sqlArray = NULL][boolean $continueOnErr = NULL])+====== executeSchema ====== 
 +~~NOTOC~~ 
 +<WRAP right box>  
 +== Syntax == 
 +  integer executeSchema ( 
 +    optional array $sqlArray = NULL, 
 +    optional boolean $continueOnErr = NULL 
 +    ) 
 +</WRAP> 
 +===== Description =====  
 +Applies the current XML schema to the database (post execution). 
 + 
 +Call this method to apply the current schema (generally created by calling [[v5:axmls:parseschema|ParseSchema()]] or [[v5:axmls:parseschemastring|ParseSchemaString()]] ) to the database (creating the tables, indexes, and executing other SQL specified in the schema) after parsing. 
 +===== Return Values ===== 
 +^Value^Description^ 
 +|0|Failure| 
 +|1|Error| 
 +|2|Success| 
 + 
 +===== Note ===== 
 +This function is simply a wrapper for [[v5:dictionary:executesqlarray]] 
 + 
v5/axmls/executeschema.1446687161.txt.gz · Last modified: 2017/04/21 11:23 (external edit)