class Illuminate / Database / MySqlConnection
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

MySqlConnection

Extends

Methods

protected

escapeBinary ( $value ) : string

Escape a binary value for safe SQL embedding.

Parameters

  • $value string
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.