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 | Type | Description |
---|---|---|
$callback | Closure |
Closure
|
$attempts | integer |
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 | Type | Description |
---|---|---|
$query | string |
string
|
$bindings | array |
array
|
$time | float | null |
float | null
|
Returns
void
inherited public query () : Winter\Storm\Database\QueryBuilder
Inherited from
Connection
inherited protected fireConnectionEvent (string $event) : array | null
Inherited from
Connection
Fire an event for this connection.
Parameters
Property | Type | Description |
---|---|---|
$event | string |
string
|
Returns
array | null
inherited
protected
fireEvent (string $event, array $attributes = []
)
: void
Inherited from
Connection
Fire the given event if possible.
Parameters
Property | Type | Description |
---|---|---|
$event | string |
string
|
$attributes | array |
array
|
Returns
void
← Previous page
Winter\Storm\Database\Connections\SQLiteConnection
Next page →
Winter\Storm\Database\Connectors\ConnectionFactory
Copyright © 2024 Winter CMS