SQLLogger
in
Interface for SQL loggers.
Tags
Table of Contents
Methods
- startQuery() : void
- Logs a SQL statement somewhere.
- stopQuery() : void
- Marks the last started query as stopped. This can be used for timing of queries.
Methods
startQuery()
Logs a SQL statement somewhere.
public
startQuery(string $sql[, array<int, mixed>|array<string, mixed>|null $params = null ][, array<int, Type|int|string|null>|array<string, Type|int|string|null>|null $types = null ]) : void
Parameters
stopQuery()
Marks the last started query as stopped. This can be used for timing of queries.
public
stopQuery() : void