api/laravel/Database/MySqlConnection.yaml
2024-09-26 02:03:21 -07:00

128 lines
2.9 KiB
YAML

name: MySqlConnection
class_comment: null
dependencies:
- name: Exception
type: class
source: Exception
- name: QueryGrammar
type: class
source: Illuminate\Database\Query\Grammars\MySqlGrammar
- name: MySqlProcessor
type: class
source: Illuminate\Database\Query\Processors\MySqlProcessor
- name: SchemaGrammar
type: class
source: Illuminate\Database\Schema\Grammars\MySqlGrammar
- name: MySqlBuilder
type: class
source: Illuminate\Database\Schema\MySqlBuilder
- name: MySqlSchemaState
type: class
source: Illuminate\Database\Schema\MySqlSchemaState
- name: Filesystem
type: class
source: Illuminate\Filesystem\Filesystem
- name: Str
type: class
source: Illuminate\Support\Str
- name: PDO
type: class
source: PDO
properties: []
methods:
- name: escapeBinary
visibility: protected
parameters:
- name: value
comment: '# * Escape a binary value for safe SQL embedding.
# *
# * @param string $value
# * @return string'
- name: isUniqueConstraintError
visibility: protected
parameters:
- name: exception
comment: '# * Determine if the given database exception was caused by a unique constraint
violation.
# *
# * @param \Exception $exception
# * @return bool'
- name: isMaria
visibility: public
parameters: []
comment: '# * Determine if the connected database is a MariaDB database.
# *
# * @return bool'
- name: getServerVersion
visibility: public
parameters: []
comment: '# * Get the server version for the connection.
# *
# * @return string'
- name: getDefaultQueryGrammar
visibility: protected
parameters: []
comment: '# * Get the default query grammar instance.
# *
# * @return \Illuminate\Database\Query\Grammars\MySqlGrammar'
- name: getSchemaBuilder
visibility: public
parameters: []
comment: '# * Get a schema builder instance for the connection.
# *
# * @return \Illuminate\Database\Schema\MySqlBuilder'
- name: getDefaultSchemaGrammar
visibility: protected
parameters: []
comment: '# * Get the default schema grammar instance.
# *
# * @return \Illuminate\Database\Schema\Grammars\MySqlGrammar'
- name: getSchemaState
visibility: public
parameters:
- name: files
default: 'null'
- name: processFactory
default: 'null'
comment: '# * Get the schema state for the connection.
# *
# * @param \Illuminate\Filesystem\Filesystem|null $files
# * @param callable|null $processFactory
# * @return \Illuminate\Database\Schema\MySqlSchemaState'
- name: getDefaultPostProcessor
visibility: protected
parameters: []
comment: '# * Get the default post processor instance.
# *
# * @return \Illuminate\Database\Query\Processors\MySqlProcessor'
traits:
- Exception
- Illuminate\Database\Query\Processors\MySqlProcessor
- Illuminate\Database\Schema\MySqlBuilder
- Illuminate\Database\Schema\MySqlSchemaState
- Illuminate\Filesystem\Filesystem
- Illuminate\Support\Str
- PDO
interfaces: []