class Illuminate / Database / SqlServerConnection

SqlServerConnection

Extends

Methods

public

transaction ( Closure $callback , $attempts ) : mixed

Execute a Closure within a transaction.

Parameters

protected

escapeBinary ( $value ) : string

Escape a binary value for safe SQL embedding.

Parameters

  • $value string
protected

isUniqueConstraintError ( Exception $exception ) : bool

Determine if the given database exception was caused by a unique constraint violation.

Parameters

protected

getDefaultQueryGrammar ( ) : SqlServerGrammar

Get the default query grammar instance.

public

getSchemaBuilder ( ) : SqlServerBuilder

Get a schema builder instance for the connection.

protected

getDefaultSchemaGrammar ( ) : SqlServerGrammar

Get the default schema grammar instance.

public

getSchemaState ( Filesystem $files , callable $processFactory ) : void

Get the schema state for the connection.

Parameters

  • $files Filesystem |null
  • $processFactory callable|null
protected

getDefaultPostProcessor ( ) : SqlServerProcessor

Get the default post processor instance.

protected

getDoctrineDriver ( ) : SqlServerDriver

Get the Doctrine DBAL driver.