class Connection extends Connection

Methods

query()

Get a new query builder instance.

static void
flushDuplicateCache()

Flush the memory cache.

void
logQuery(string $query, array $bindings, float|null $time = null)

Log a query in the connection's query log.

void
fireConnectionEvent(string $event)

Fire an event for this connection.

Details

at line 16
Builder query()

Get a new query builder instance.

Return Value

Builder

at line 29
static void flushDuplicateCache()

Flush the memory cache.

Return Value

void

at line 42
void logQuery(string $query, array $bindings, float|null $time = null)

Log a query in the connection's query log.

Parameters

string $query
array $bindings
float|null $time

Return Value

void

at line 57
protected void fireConnectionEvent(string $event)

Fire an event for this connection.

Parameters

string $event

Return Value

void