ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:printsql

This is an old revision of the document!


printSql

Syntax
array printSql (
  optional string $format = 'NONE'
  )

Description

Returns the current SQL array.

Call this method to fetch the array of SQL queries resulting from ParseSchema() or ParseSchemaString().

The method returns an array of SQL statements or FALSE if an error occurs. The available options are:

ValueDescription
'string' or 'text'Returns a value formatted for the console
'html'Returns an HTML formatted string

Any other provided argument returns a PHP array

v5/axmls/printsql.1450025895.txt.gz · Last modified: 2017/04/21 11:22 (external edit)