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
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Database/Events/QueryExecuted.html