API17

API17:JDatabase::getQuery

From Joomla! Documentation

Revision as of 14:59, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDatabase::getQuery

Description

Get the current or query, or new object.

{{subst:Description:JDatabase::getQuery}}

public function getQuery ($new=false)
Parameter Type Default Description
$new false
  • Returns mixed The current value of the internal SQL variable or a new object.
  • Defined on line 1176 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDatabase::getQuery}}

User contributed notes

<CodeExamplesForm />