JDatabase::getQuery/1.6
From Joomla! Documentation
JDatabase::getQuery
Description
Get the current or query, or new object.
Description:JDatabase::getQuery [Edit Descripton]
public function 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 on line 601 of libraries/joomla/database/database.php
See also
JDatabase source code on JoomlaCode
Class JDatabase
Subpackage Database- Other versions of JDatabase::getQuery
SeeAlso:JDatabase::getQuery [Edit See Also]