JDatabase::stderr
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabase::stderr[edit]
Description[edit]
Return the most recent error message for the database connector.
public function stderr ($showSQL=false)
Parameter | Type | Default | Description |
---|---|---|---|
$showSQL | bool | false | True to display the SQL statement sent to the database as well as the error. |
- Returns string The error message for the most recent query.
- Defined on line 1477 of libraries/joomla/database/database.php
- Since
See also[edit]
JDatabase::stderr source code on BitBucket
Class JDatabase
Subpackage Database
- Other versions of JDatabase::stderr
User contributed notes[edit]
Code Examples[edit]