MediaWiki REL1_35
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)
 

Private Attributes

 $conname
 
 $default
 
 $deferrable
 
 $deferred
 
 $has_default
 
 $max_length
 
 $name
 
 $nullable
 
 $tablename
 
 $type
 

Detailed Description

Definition at line 5 of file PostgresField.php.

Member Function Documentation

◆ conname()

Wikimedia\Rdbms\PostgresField::conname ( )

◆ defaultValue()

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

Definition at line 107 of file PostgresField.php.

References Wikimedia\Rdbms\PostgresField\$default.

◆ fromText()

◆ is_deferrable()

Wikimedia\Rdbms\PostgresField::is_deferrable ( )

Definition at line 91 of file PostgresField.php.

References Wikimedia\Rdbms\PostgresField\$deferrable.

◆ is_deferred()

Wikimedia\Rdbms\PostgresField::is_deferred ( )

Definition at line 95 of file PostgresField.php.

References Wikimedia\Rdbms\PostgresField\$deferred.

◆ 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.

References Wikimedia\Rdbms\PostgresField\$nullable.

◆ maxLength()

Wikimedia\Rdbms\PostgresField::maxLength ( )

Definition at line 87 of file PostgresField.php.

References Wikimedia\Rdbms\PostgresField\$max_length.

◆ name()

Wikimedia\Rdbms\PostgresField::name ( )

Field name.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 71 of file PostgresField.php.

References Wikimedia\Rdbms\PostgresField\$name.

◆ 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.

References Wikimedia\Rdbms\PostgresField\$tablename.

◆ type()

Wikimedia\Rdbms\PostgresField::type ( )

Database type.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 79 of file PostgresField.php.

References Wikimedia\Rdbms\PostgresField\$type.

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

Member Data Documentation

◆ $conname

Wikimedia\Rdbms\PostgresField::$conname
private

Definition at line 6 of file PostgresField.php.

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

◆ $default

Wikimedia\Rdbms\PostgresField::$default
private

Definition at line 7 of file PostgresField.php.

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

◆ $deferrable

Wikimedia\Rdbms\PostgresField::$deferrable
private

Definition at line 6 of file PostgresField.php.

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

◆ $deferred

Wikimedia\Rdbms\PostgresField::$deferred
private

Definition at line 6 of file PostgresField.php.

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

◆ $has_default

Wikimedia\Rdbms\PostgresField::$has_default
private

Definition at line 7 of file PostgresField.php.

◆ $max_length

Wikimedia\Rdbms\PostgresField::$max_length
private

Definition at line 6 of file PostgresField.php.

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

◆ $name

Wikimedia\Rdbms\PostgresField::$name
private

Definition at line 6 of file PostgresField.php.

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

◆ $nullable

Wikimedia\Rdbms\PostgresField::$nullable
private

Definition at line 6 of file PostgresField.php.

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

◆ $tablename

Wikimedia\Rdbms\PostgresField::$tablename
private

Definition at line 6 of file PostgresField.php.

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

◆ $type

Wikimedia\Rdbms\PostgresField::$type
private

Definition at line 6 of file PostgresField.php.

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


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