ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:printsql

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
axmls:printsql [2015/11/16 01:22] mnewnhamv5:axmls:printsql [2016/01/13 02:26] (current) – ↷ Links adapted because of a move operation mnewnham
Line 1: Line 1:
 ====== printSql ====== ====== printSql ======
-~~NOTOC~~~+~~NOTOC~~
 <WRAP right box> <WRAP right box>
 == Syntax == == Syntax ==
Line 8: Line 8:
 </WRAP>   </WRAP>  
 ===== Description ===== ===== Description =====
-Returns the current SQL array.+Returns the last generated current SQL array in printable format.
  
-Call this method to fetch the array of SQL queries resulting from axmls:parseschema|ParseSchema()] or [[axmls:parseschemastring|ParseSchemaString()]].+Call this method to fetch the array of SQL queries resulting from [[v5:axmls:parseschema|ParseSchema()]] or [[v5:axmls:parseschemastring|ParseSchemaString()]]. 
 + 
 +The method returns an array of SQL statements or FALSE if an error occurs. The available options are: 
 + 
 +^Value^Description^ 
 +|'string' or 'text'|Returns a value formatted for the console| 
 +|'html'|Returns an HTML formatted string| 
 + 
 +Any other provided argument returns a PHP array, which can be sent to [[axmls:executeSchema()]] or [[v5:dictionary:executesqlarray]]
  
-The method returns an array of SQL statements or FALSE if an error occurs 
  
  
      
v5/axmls/printsql.1447633328.txt.gz · Last modified: 2017/04/21 11:22 (external edit)