Class SQL
SQL Exception. Represents a generic database exception independent of the underlying driver.
- Exception
- RedBeanPHP\RedException
- RedBeanPHP\RedException\SQL
Namespace: RedBeanPHP\RedException
Copyright:
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/RedException/SQL.php
Located at RedException/SQL.php
Copyright:
(c) copyright G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community. This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/RedException/SQL.php
Located at RedException/SQL.php
public
string
|
|
public
|
#
setSQLState( string $sqlState )
Returns the raw SQL STATE, possibly compliant with ANSI SQL error codes - but this depends on database driver. |
public
string
|
__construct(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
$code,
$file,
$line,
$message
|