MediaWiki master
Wikimedia\Rdbms\PostgresField Class Reference

Inherits Wikimedia\Rdbms\Field.

Collaboration diagram for Wikimedia\Rdbms\PostgresField:

Public Member Functions

 conname ()
 
 defaultValue ()
 
 is_deferrable ()
 
 is_deferred ()
 
 isNullable ()
 Whether this field can store NULL values.
 
 maxLength ()
 
 name ()
 Field name.
 
 tableName ()
 Name of table this field belongs to.
 
 type ()
 Database type.
 

Static Public Member Functions

static fromText (DatabasePostgres $db, $table, $field)
 

Detailed Description

Definition at line 5 of file PostgresField.php.

Member Function Documentation

◆ conname()

Wikimedia\Rdbms\PostgresField::conname ( )

Definition at line 109 of file PostgresField.php.

Referenced by Wikimedia\Rdbms\PostgresField\fromText().

◆ defaultValue()

Wikimedia\Rdbms\PostgresField::defaultValue ( )
Since
1.19
Returns
mixed|false

Definition at line 117 of file PostgresField.php.

◆ fromText()

static Wikimedia\Rdbms\PostgresField::fromText ( DatabasePostgres $db,
$table,
$field )
static

◆ is_deferrable()

Wikimedia\Rdbms\PostgresField::is_deferrable ( )

Definition at line 101 of file PostgresField.php.

◆ is_deferred()

Wikimedia\Rdbms\PostgresField::is_deferred ( )

Definition at line 105 of file PostgresField.php.

◆ isNullable()

Wikimedia\Rdbms\PostgresField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Wikimedia\Rdbms\Field.

Definition at line 93 of file PostgresField.php.

◆ maxLength()

Wikimedia\Rdbms\PostgresField::maxLength ( )

Definition at line 97 of file PostgresField.php.

◆ name()

Wikimedia\Rdbms\PostgresField::name ( )

Field name.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 81 of file PostgresField.php.

◆ tableName()

Wikimedia\Rdbms\PostgresField::tableName ( )

Name of table this field belongs to.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 85 of file PostgresField.php.

◆ type()

Wikimedia\Rdbms\PostgresField::type ( )

Database type.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 89 of file PostgresField.php.

Referenced by Wikimedia\Rdbms\PostgresField\fromText().


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