DebugMonitor
Implements QueryMonitorInterfaceQuery monitor handling logging of queries.
| since |
2.0.0 |
|---|---|
| package |
Joomla Framework |
Methods
getBoundParams
Get the logged bound params.
getBoundParams() : array
| since |
2.0.0 |
|---|
Response
array
getCallStacks
Get the logged call stacks.
getCallStacks() : array
| since |
2.0.0 |
|---|
Response
array
getLogs
Get the logged queries.
getLogs() : array
| since |
2.0.0 |
|---|
Response
array
getMemoryLogs
Get the logged memory logs.
getMemoryLogs() : array
| since |
2.0.0 |
|---|
Response
array
getTimings
Get the logged timings.
getTimings() : array
| since |
2.0.0 |
|---|
Response
array
startQuery
Act on a query being started.
startQuery(string sql, object[]|null boundParams = null) : void
| since |
2.0.0 |
|---|
Arguments
- sql
stringThe SQL to be executed.- boundParams
object[]|nullList of bound params, used with the query. Each item is an object that holds: value, dataType
stopQuery
Act on a query being stopped.
stopQuery() : void
| since |
2.0.0 |
|---|
Properties
callStacks
The log of executed SQL statements call stacks by the database driver.
| since |
2.0.0 |
|---|
Type(s)
array
logs
The log of executed SQL statements by the database driver.
| since |
2.0.0 |
|---|
Type(s)
array
boundParams
List of bound params, used with the query.
| since |
2.0.0 |
|---|
Type(s)
array
memoryLogs
The log of executed SQL statements memory usage (start and stop memory_get_usage) by the database driver.
| since |
2.0.0 |
|---|
Type(s)
array
timings
The log of executed SQL statements timings (start and stop microtimes) by the database driver.
| since |
2.0.0 |
|---|
Type(s)
array