QueryExecuted

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

__construct(string $sql, array $bindings, float $time, $connection)

Create a new event instance.

Details

__construct(string $sql, array $bindings, float $time, $connection)

Create a new event instance.

Parameters

string $sql
array $bindings
float $time
$connection

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Database/Events/QueryExecuted.html