API17:JDatabase::getQuery
From Joomla! Documentation
JDatabase::getQuery
Description
Get the current or query, or new object.
Template:Description:JDatabase::getQuery [Edit Descripton]
Synopsis
public JDatabase->getQuery ($new=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $new | boolean | false | False to return the last query set by setQuery, True to return a new object. |
Returns
string The current value of the internal SQL variable
Defined in
libraries/joomla/database/database.php
Referenced by
See also
Template:SeeAlso:JDatabase::getQuery
Examples
<CodeExamplesForm />