class QueryExecuted (View source)

Properties

string $sql

The SQL query that was executed.

array $bindings

The array of query bindings.

float $time

The number of milliseconds it took to execute the query.

Connection $connection

The database connection instance.

string $connectionName

The database connection name.

Methods

void
__construct(string $sql, array $bindings, float|null $time, Connection $connection)

Create a new event instance.

Details

void __construct(string $sql, array $bindings, float|null $time, Connection $connection)

Create a new event instance.

Parameters

string $sql
array $bindings
float|null $time
Connection $connection

Return Value

void