class Illuminate / Database / MySqlConnection

MySqlConnection

Extends

Methods

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

public

isMaria ( ) : bool

Determine if the connected database is a MariaDB database.

protected

getDefaultQueryGrammar ( ) : MySqlGrammar

Get the default query grammar instance.

public

getSchemaBuilder ( ) : MySqlBuilder

Get a schema builder instance for the connection.

protected

getDefaultSchemaGrammar ( ) : MySqlGrammar

Get the default schema grammar instance.

public

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

Get the schema state for the connection.

Parameters

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

getDefaultPostProcessor ( ) : MySqlProcessor

Get the default post processor instance.

protected

getDoctrineDriver ( ) : MySqlDriver

Get the Doctrine DBAL driver.