Class QueryException
Namespace: Cake\Database\Exception
Method Summary
-
__construct() public
Constructor
-
getQueryString() public
Get the query string that caused this exception.
Method Detail
__construct() ¶ public
__construct(Cake\Database\Log\LoggedQuery|string $query, PDOException $previous)
Constructor
Parameters
-
Cake\Database\Log\LoggedQuery|string
$query -
PDOException
$previous
getQueryString() ¶ public
getQueryString(): string
Get the query string that caused this exception.
Returns
string