October\Rain\Database\Connections\ExtendsConnection
Overview
ExtendsConnection replaces the query builder in the connection,
and modifies logging events. This trait must extend a connection
class that extends the Illuminate\Database\Connection class.
Public Methods
public logQuery()
public logQuery(
string $query,
array $bindings,
float|null $time = null
): void
logQuery in the connection's query log
public query()
public query(): October\Rain\Database\QueryBuilder
query builder instance
Protected Methods
protected fireConnectionEvent()
protected fireConnectionEvent(string $event): void
fireConnectionEvent for this connection