MediaWiki REL1_37
Wikimedia\Rdbms\MWPostgreSqlPlatform Class Reference
Inheritance diagram for Wikimedia\Rdbms\MWPostgreSqlPlatform:
Collaboration diagram for Wikimedia\Rdbms\MWPostgreSqlPlatform:

Public Member Functions

 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 12 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 38 of file MWPostgreSqlPlatform.php.

◆ getDateTimeTzTypeDeclarationSQL()

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

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

References $type.

◆ getFloatDeclarationSQL()

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

Definition at line 58 of file MWPostgreSqlPlatform.php.


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