Function Database_super_mysql->handle_failed_query
Definitions
sources/database/shared/mysql.php
- Handle messaging for a failed query.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$query | string | No | No | required parameter | N/A | N/A | The complete SQL query |
$err | string | No | No | required parameter | N/A | N/A | The error message |
$connection | mixed | No | No | required parameter | N/A | N/A | The DB connection |
Preview
Code (PHP)
/**
* Handle messaging for a failed query.
*
* @param string $query The complete SQL query
* @param string $err The error message
* @param mixed $connection The DB connection
*/
protected function handle_failed_query(string $query, string $err, $connection)
* Handle messaging for a failed query.
*
* @param string $query The complete SQL query
* @param string $err The error message
* @param mixed $connection The DB connection
*/
protected function handle_failed_query(string $query, string $err, $connection)