ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:removeschema

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
axmls:removeschema [2015/11/16 01:24] mnewnhamaxmls:removeschema [2016/01/13 02:06] – ↷ Links adapted because of a move operation mnewnham
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
 <WRAP right box> <WRAP right box>
-  array RemoveSchema +  array removeSchema 
-    mixed $filename,  +    string $filename,  
-    bool $returnSchema=false, +    optional bool $returnSchema=false 
-    optional string $file +     )
-    )+
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
Line 14: Line 13:
 Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to remove the database described. Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to remove the database described.
  
-The method returns an array of SQL queries, ready to execute+The method returns an array of SQL queries, ready to execute. In order to execute the generated SQL, is must be passed to [[v5:dictionary:executesqlarray]]. 
 + 
 +If the schema file cannot be opened or the SQL generation fails, the method returns false. 
 + 
  
v5/axmls/removeschema.txt · Last modified: 2016/01/13 02:26 by mnewnham