MediaWiki  1.28.0
PostgresField Class Reference
Inheritance diagram for PostgresField:
Collaboration diagram for PostgresField:

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

Private Attributes

 $name
 

Detailed Description

Definition at line 2 of file PostgresField.php.

Member Function Documentation

PostgresField::conname ( )

Definition at line 92 of file PostgresField.php.

References $conname.

Referenced by fromText().

PostgresField::defaultValue ( )
Since
1.19
Returns
bool|mixed

Definition at line 100 of file PostgresField.php.

References $default.

static PostgresField::fromText ( DatabasePostgres  $db,
  $table,
  $field 
)
static
PostgresField::is_deferrable ( )

Definition at line 84 of file PostgresField.php.

References $deferrable.

PostgresField::is_deferred ( )

Definition at line 88 of file PostgresField.php.

References $deferred.

PostgresField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Field.

Definition at line 76 of file PostgresField.php.

References $nullable.

PostgresField::maxLength ( )

Definition at line 80 of file PostgresField.php.

References $max_length.

PostgresField::name ( )

Field name.

Returns
string

Implements Field.

Definition at line 64 of file PostgresField.php.

References $name.

PostgresField::tableName ( )

Name of table this field belongs to.

Returns
string

Implements Field.

Definition at line 68 of file PostgresField.php.

References $tablename.

PostgresField::type ( )

Database type.

Returns
string

Implements Field.

Definition at line 72 of file PostgresField.php.

References $type.

Referenced by fromText().

Member Data Documentation

PostgresField::$conname

Definition at line 3 of file PostgresField.php.

Referenced by conname().

PostgresField::$default

Definition at line 3 of file PostgresField.php.

Referenced by defaultValue().

PostgresField::$deferrable

Definition at line 3 of file PostgresField.php.

Referenced by is_deferrable().

PostgresField::$deferred

Definition at line 3 of file PostgresField.php.

Referenced by is_deferred().

PostgresField::$has_default

Definition at line 3 of file PostgresField.php.

PostgresField::$max_length

Definition at line 3 of file PostgresField.php.

Referenced by maxLength().

PostgresField::$name
private

Definition at line 3 of file PostgresField.php.

Referenced by name().

PostgresField::$nullable

Definition at line 3 of file PostgresField.php.

Referenced by isNullable().

PostgresField::$tablename

Definition at line 3 of file PostgresField.php.

Referenced by tableName().

PostgresField::$type

Definition at line 3 of file PostgresField.php.

Referenced by type().


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