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

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

◆ defaultValue()

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

Definition at line 107 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 91 of file PostgresField.php.

◆ is_deferred()

Wikimedia\Rdbms\PostgresField::is_deferred ( )

Definition at line 95 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 83 of file PostgresField.php.

◆ maxLength()

Wikimedia\Rdbms\PostgresField::maxLength ( )

Definition at line 87 of file PostgresField.php.

◆ name()

Wikimedia\Rdbms\PostgresField::name ( )

Field name.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 71 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 75 of file PostgresField.php.

◆ type()

Wikimedia\Rdbms\PostgresField::type ( )

Database type.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 79 of file PostgresField.php.

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


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