SqlServerConnection

 class Winter\Storm\Database\Connections\SqlServerConnection
extends Winter\Storm\Database\Connections\Connection

Extends

Class Description
Connection

Methods

public getSchemaBuilder () : Illuminate\Database\Schema\SqlServerBuilder

Get a schema builder instance for the connection.

Returns
Illuminate\Database\Schema\SqlServerBuilder

public transaction (Closure $callback, integer $attempts = 1) : mixed

Execute a Closure within a transaction.

Parameters
Property Description
$callback
Closure
$attempts
integer
Returns
mixed

protected getDefaultPostProcessor () : Illuminate\Database\Query\Processors\SqlServerProcessor

Get the default post processor instance.

Returns
Illuminate\Database\Query\Processors\SqlServerProcessor

protected getDefaultQueryGrammar () : Illuminate\Database\Grammar

Get the default query grammar instance.

Returns
Illuminate\Database\Grammar

protected getDefaultSchemaGrammar () : Illuminate\Database\Grammar

Get the default schema grammar instance.

Returns
Illuminate\Database\Grammar

protected getDoctrineDriver () : Illuminate\Database\PDO\SqlServerDriver

Get the Doctrine DBAL driver.

Returns
Illuminate\Database\PDO\SqlServerDriver

inherited public static flushDuplicateCache () : void

Inherited from Connection

Flush the memory cache.

Returns
void

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

Inherited from Connection

Log a query in the connection's query log.

Parameters
Property Description
$query
string
$bindings
array
$time
float | null
Returns
void

inherited public query () : Winter\Storm\Database\QueryBuilder

Inherited from Connection

Get a new query builder instance.

Returns

inherited protected fireConnectionEvent (string $event) : array | null

Inherited from Connection

Fire an event for this connection.

Parameters
Property Description
$event
string
Returns
array | null

inherited protected fireEvent (string $event, array $attributes = []) : void

Inherited from Connection

Fire the given event if possible.

Parameters
Property Description
$event
string
$attributes
array
Returns
void
Copyright © 2024 Winter CMS