QueryExecuted
in package
Table of Contents
- $bindings : array<string|int, mixed>
- The array of query bindings.
- $connection : Connection
- The database connection instance.
- $connectionName : string
- The database connection name.
- $sql : string
- The SQL query that was executed.
- $time : float
- The number of milliseconds it took to execute the query.
- __construct() : void
- Create a new event instance.
Properties
$bindings
The array of query bindings.
public
array<string|int, mixed>
$bindings
$connection
The database connection instance.
public
Connection
$connection
$connectionName
The database connection name.
public
string
$connectionName
$sql
The SQL query that was executed.
public
string
$sql
$time
The number of milliseconds it took to execute the query.
public
float
$time
Methods
__construct()
Create a new event instance.
public
__construct(string $sql, array<string|int, mixed> $bindings, float|null $time, Connection $connection) : void
Parameters
- $sql : string
- $bindings : array<string|int, mixed>
- $time : float|null
- $connection : Connection