class Illuminate / Database / PostgresConnection

PostgresConnection

Extends

Methods

protected

escapeBinary ( $value ) : string

Escape a binary value for safe SQL embedding.

Parameters

  • $value string
protected

escapeBool ( $value ) : string

Escape a bool value for safe SQL embedding.

Parameters

  • $value bool
protected

isUniqueConstraintError ( Exception $exception ) : bool

Determine if the given database exception was caused by a unique constraint violation.

Parameters

protected

getDefaultQueryGrammar ( ) : PostgresGrammar

Get the default query grammar instance.

public

getSchemaBuilder ( ) : PostgresBuilder

Get a schema builder instance for the connection.

protected

getDefaultSchemaGrammar ( ) : PostgresGrammar

Get the default schema grammar instance.

public

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

Get the schema state for the connection.

Parameters

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

getDefaultPostProcessor ( ) : PostgresProcessor

Get the default post processor instance.

protected

getDoctrineDriver ( ) : PostgresDriver

Get the Doctrine DBAL driver.