MediaWiki REL1_35
|
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 | |
Definition at line 5 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::conname | ( | ) |
Definition at line 99 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$conname.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().
Wikimedia\Rdbms\PostgresField::defaultValue | ( | ) |
Definition at line 107 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$default.
|
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\fetchObject(), Wikimedia\Rdbms\DatabasePostgres\getCoreSchemas(), n, Wikimedia\Rdbms\Database\query(), Wikimedia\Rdbms\DatabasePostgres\remappedTableName(), and Wikimedia\Rdbms\PostgresField\type().
Referenced by Wikimedia\Rdbms\DatabasePostgres\fieldInfo().
Wikimedia\Rdbms\PostgresField::is_deferrable | ( | ) |
Definition at line 91 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$deferrable.
Wikimedia\Rdbms\PostgresField::is_deferred | ( | ) |
Definition at line 95 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$deferred.
Wikimedia\Rdbms\PostgresField::isNullable | ( | ) |
Whether this field can store NULL values.
Implements Wikimedia\Rdbms\Field.
Definition at line 83 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$nullable.
Wikimedia\Rdbms\PostgresField::maxLength | ( | ) |
Definition at line 87 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$max_length.
Wikimedia\Rdbms\PostgresField::name | ( | ) |
Field name.
Implements Wikimedia\Rdbms\Field.
Definition at line 71 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$name.
Wikimedia\Rdbms\PostgresField::tableName | ( | ) |
Name of table this field belongs to.
Implements Wikimedia\Rdbms\Field.
Definition at line 75 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$tablename.
Wikimedia\Rdbms\PostgresField::type | ( | ) |
Database type.
Implements Wikimedia\Rdbms\Field.
Definition at line 79 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$type.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\conname().
|
private |
Definition at line 7 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\defaultValue().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\is_deferrable().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\is_deferred().
|
private |
Definition at line 7 of file PostgresField.php.
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\maxLength().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\name().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\isNullable().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\tableName().
|
private |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\type().