JDatabaseDriver::setQuery
Sets the SQL statement string for later execution.
Signature
public function setQuery(mixed
$query,
[integer
$offset = 0,
[integer
$limit = 0]] )
Parameters
-
$query
- The SQL statement to set either as a JDatabaseQuery object or a string.
-
$offset
- The affected row offset to set.
-
$limit
- The maximum affected rows to set.
Returns
- JDatabaseDriver
- This object to support method chaining.