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
- $exception Exception
public
isMaria ( ) : bool
Determine if the connected database is a MariaDB database.
public
getSchemaState ( Filesystem $files , callable $processFactory ) : MySqlSchemaState
Get the schema state for the connection.
Parameters
- $files Filesystem |null
- $processFactory callable|null