MediaWiki REL1_39
|
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 99 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().
Wikimedia\Rdbms\PostgresField::defaultValue | ( | ) |
|
static |
DatabasePostgres | $db | |
string | $table | |
string | $field |
Definition at line 15 of file PostgresField.php.
References $res, Wikimedia\Rdbms\DatabasePostgres\addQuotes(), Wikimedia\Rdbms\PostgresField\conname(), Wikimedia\Rdbms\DatabasePostgres\getCoreSchemas(), n, Wikimedia\Rdbms\Database\query(), and Wikimedia\Rdbms\PostgresField\type().
Wikimedia\Rdbms\PostgresField::is_deferrable | ( | ) |
Definition at line 91 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::is_deferred | ( | ) |
Definition at line 95 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::isNullable | ( | ) |
Whether this field can store NULL values.
Implements Wikimedia\Rdbms\Field.
Definition at line 83 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::maxLength | ( | ) |
Definition at line 87 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::name | ( | ) |
Field name.
Implements Wikimedia\Rdbms\Field.
Definition at line 71 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::tableName | ( | ) |
Name of table this field belongs to.
Implements Wikimedia\Rdbms\Field.
Definition at line 75 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::type | ( | ) |
Database type.
Implements Wikimedia\Rdbms\Field.
Definition at line 79 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().