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