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

115 lines
2.7 KiB
YAML

name: PostgresConnection
class_comment: null
dependencies:
- name: Exception
type: class
source: Exception
- name: QueryGrammar
type: class
source: Illuminate\Database\Query\Grammars\PostgresGrammar
- name: PostgresProcessor
type: class
source: Illuminate\Database\Query\Processors\PostgresProcessor
- name: SchemaGrammar
type: class
source: Illuminate\Database\Schema\Grammars\PostgresGrammar
- name: PostgresBuilder
type: class
source: Illuminate\Database\Schema\PostgresBuilder
- name: PostgresSchemaState
type: class
source: Illuminate\Database\Schema\PostgresSchemaState
- name: Filesystem
type: class
source: Illuminate\Filesystem\Filesystem
properties: []
methods:
- name: escapeBinary
visibility: protected
parameters:
- name: value
comment: '# * Escape a binary value for safe SQL embedding.
# *
# * @param string $value
# * @return string'
- name: escapeBool
visibility: protected
parameters:
- name: value
comment: '# * Escape a bool value for safe SQL embedding.
# *
# * @param bool $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: getDefaultQueryGrammar
visibility: protected
parameters: []
comment: '# * Get the default query grammar instance.
# *
# * @return \Illuminate\Database\Query\Grammars\PostgresGrammar'
- name: getSchemaBuilder
visibility: public
parameters: []
comment: '# * Get a schema builder instance for the connection.
# *
# * @return \Illuminate\Database\Schema\PostgresBuilder'
- name: getDefaultSchemaGrammar
visibility: protected
parameters: []
comment: '# * Get the default schema grammar instance.
# *
# * @return \Illuminate\Database\Schema\Grammars\PostgresGrammar'
- 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\PostgresSchemaState'
- name: getDefaultPostProcessor
visibility: protected
parameters: []
comment: '# * Get the default post processor instance.
# *
# * @return \Illuminate\Database\Query\Processors\PostgresProcessor'
traits:
- Exception
- Illuminate\Database\Query\Processors\PostgresProcessor
- Illuminate\Database\Schema\PostgresBuilder
- Illuminate\Database\Schema\PostgresSchemaState
- Illuminate\Filesystem\Filesystem
interfaces: []