SQL Yoga version 1.1.0 build 4 :: Visit website

Printer friendly version

function sqlquery_createObject()

Creates a SQL Query Object from a SQL Query Template or a table.

function sqlquery_createObject pTemplateOrTableName, [pConnection], [pDBKey]
Simple parameter. pTemplateOrTableName The name of a SQL Query Template or table in your database.
OptionalSimple parameter. [pConnection] Name of the connection to attach the SQL Record to. Default is the default connection for the database object.
OptionalSimple parameter. [pDBKey] The name of the database object to attach the SQL Record object to. Default is name returned by sqlyoga_getDefaultDatabase().

The returned array represents the SQL query. You should not modify this array yourself but rather use
the SQL Query Object API to get and set properties.


SQL Query Object array