MediaWiki REL1_39
Wikimedia\Rdbms\MWPostgreSqlPlatform Class Reference
Inheritance diagram for Wikimedia\Rdbms\MWPostgreSqlPlatform:
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 42 of file MWPostgreSqlPlatform.php.

◆ getBinaryTypeDeclarationSQL()

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

Definition at line 72 of file MWPostgreSqlPlatform.php.

◆ getBlobTypeDeclarationSQL()

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

Definition at line 62 of file MWPostgreSqlPlatform.php.

◆ getDateTimeTzTypeDeclarationSQL()

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

Definition at line 89 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 17 of file MWPostgreSqlPlatform.php.

References $type.

◆ getFloatDeclarationSQL()

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

Definition at line 82 of file MWPostgreSqlPlatform.php.


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