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.
\Exception|null
The exception that was thrown by the execution of this query
int
Number of rows affected or returned by the query execution
array
Associative array with the params bound to the query string
string
Query string that was executed
float
Number of milliseconds this query took to complete
Helper function used to replace query placeholders by the real params used to execute the query
__toString()
Returns the string representation of this logged query
string
getContext()
Get the logging context data for a query.
array
interpolate()
Helper function used to replace query placeholders by the real params used to execute the query
string
jsonSerialize()
Returns data that will be serialized as JSON
array
The exception that was thrown by the execution of this query
\Exception|null
Number of rows affected or returned by the query execution
int
Associative array with the params bound to the query string
array
Query string that was executed
string
Number of milliseconds this query took to complete
float
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/class-Cake.Database.Log.LoggedQuery.html