Class LoggedQuery
Contains a query string, the params used to executed it, time taken to do it and the number of rows found or affected by its execution.
Namespace: Cake\Database\Log
Property Summary
-
$error public
Exception
The exception that was thrown by the execution of this query
-
$numRows public
int
Number of rows affected or returned by the query execution
-
$params public
string
Associative array with the params bound to the query string
-
$query public
string
Query string that was executed
-
$took public
float
Number of milliseconds this query took to complete
Method Summary
-
__toString() public
Returns the string representation of this logged query
Method Detail
__toString() ¶ public
__toString(): string
Returns the string representation of this logged query
Returns
string