MediaWiki master
|
Inherits Wikimedia\Rdbms\Field.
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) |
Definition at line 5 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::conname | ( | ) |
Definition at line 109 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().
Wikimedia\Rdbms\PostgresField::defaultValue | ( | ) |
|
static |
DatabasePostgres | $db | |
string | $table | |
string | $field |
Definition at line 25 of file PostgresField.php.
References Wikimedia\Rdbms\DatabasePostgres\addQuotes(), Wikimedia\Rdbms\PostgresField\conname(), Wikimedia\Rdbms\DatabasePostgres\getCoreSchemas(), Wikimedia\Rdbms\Database\query(), and Wikimedia\Rdbms\PostgresField\type().
Wikimedia\Rdbms\PostgresField::is_deferrable | ( | ) |
Definition at line 101 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::is_deferred | ( | ) |
Definition at line 105 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::isNullable | ( | ) |
Whether this field can store NULL values.
Implements Wikimedia\Rdbms\Field.
Definition at line 93 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::maxLength | ( | ) |
Definition at line 97 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::name | ( | ) |
Field name.
Implements Wikimedia\Rdbms\Field.
Definition at line 81 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::tableName | ( | ) |
Name of table this field belongs to.
Implements Wikimedia\Rdbms\Field.
Definition at line 85 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::type | ( | ) |
Database type.
Implements Wikimedia\Rdbms\Field.
Definition at line 89 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().