MediaWiki REL1_40
Wikimedia\Rdbms\MWPostgreSqlPlatform Class Reference

Inherits PostgreSQLPlatform.

Collaboration diagram for Wikimedia\Rdbms\MWPostgreSqlPlatform:

Public Member Functions

 getBinaryTypeDeclarationSQL (array $column)
 
 getBlobTypeDeclarationSQL (array $column)
 
 getDateTimeTzTypeDeclarationSQL (array $column)
 
 getDefaultValueDeclarationSQL ( $column)
 Handles Postgres unique timestamp format .
 
 getFloatDeclarationSQL (array $column)
 

Protected Member Functions

 _getCreateTableSQL ( $name, $columns, array $options=[])
 phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
 

Detailed Description

Definition at line 8 of file MWPostgreSqlPlatform.php.

Member Function Documentation

◆ _getCreateTableSQL()

Wikimedia\Rdbms\MWPostgreSqlPlatform::_getCreateTableSQL ( $name,
$columns,
array $options = [] )
protected

phpcs:disable PSR2.Methods.MethodDeclaration.Underscore

Definition at line 41 of file MWPostgreSqlPlatform.php.

◆ getBinaryTypeDeclarationSQL()

Wikimedia\Rdbms\MWPostgreSqlPlatform::getBinaryTypeDeclarationSQL ( array $column)

Definition at line 71 of file MWPostgreSqlPlatform.php.

◆ getBlobTypeDeclarationSQL()

Wikimedia\Rdbms\MWPostgreSqlPlatform::getBlobTypeDeclarationSQL ( array $column)

Definition at line 61 of file MWPostgreSqlPlatform.php.

◆ getDateTimeTzTypeDeclarationSQL()

Wikimedia\Rdbms\MWPostgreSqlPlatform::getDateTimeTzTypeDeclarationSQL ( array $column)

Definition at line 88 of file MWPostgreSqlPlatform.php.

◆ getDefaultValueDeclarationSQL()

Wikimedia\Rdbms\MWPostgreSqlPlatform::getDefaultValueDeclarationSQL ( $column)

Handles Postgres unique timestamp format .

Parameters
mixed[]$columnThe column definition array.
Returns
string Postgres specific SQL code portion needed to set a default value.

Definition at line 16 of file MWPostgreSqlPlatform.php.

References $type.

◆ getFloatDeclarationSQL()

Wikimedia\Rdbms\MWPostgreSqlPlatform::getFloatDeclarationSQL ( array $column)

Definition at line 81 of file MWPostgreSqlPlatform.php.


The documentation for this class was generated from the following file: