MediaWiki
1.30.2
|
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 | |
Definition at line 5 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::conname | ( | ) |
Definition at line 95 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$conname.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().
Wikimedia\Rdbms\PostgresField::defaultValue | ( | ) |
Definition at line 103 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, a, Wikimedia\Rdbms\DatabasePostgres\addQuotes(), and(), c, Wikimedia\Rdbms\PostgresField\conname(), Wikimedia\Rdbms\DatabasePostgres\fetchObject(), FROM, Wikimedia\Rdbms\DatabasePostgres\getCoreSchema(), n, on, 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 87 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$deferrable.
Wikimedia\Rdbms\PostgresField::is_deferred | ( | ) |
Definition at line 91 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 79 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$nullable.
Wikimedia\Rdbms\PostgresField::maxLength | ( | ) |
Definition at line 83 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$max_length.
Wikimedia\Rdbms\PostgresField::name | ( | ) |
Field name.
Implements Wikimedia\Rdbms\Field.
Definition at line 67 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 71 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$tablename.
Wikimedia\Rdbms\PostgresField::type | ( | ) |
Database type.
Implements Wikimedia\Rdbms\Field.
Definition at line 75 of file PostgresField.php.
References Wikimedia\Rdbms\PostgresField\$type.
Referenced by Wikimedia\Rdbms\PostgresField\fromText().
Wikimedia\Rdbms\PostgresField::$conname |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\conname().
Wikimedia\Rdbms\PostgresField::$default |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\defaultValue().
Wikimedia\Rdbms\PostgresField::$deferrable |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\is_deferrable().
Wikimedia\Rdbms\PostgresField::$deferred |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\is_deferred().
Wikimedia\Rdbms\PostgresField::$has_default |
Definition at line 6 of file PostgresField.php.
Wikimedia\Rdbms\PostgresField::$max_length |
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().
Wikimedia\Rdbms\PostgresField::$nullable |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\isNullable().
Wikimedia\Rdbms\PostgresField::$tablename |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\tableName().
Wikimedia\Rdbms\PostgresField::$type |
Definition at line 6 of file PostgresField.php.
Referenced by Wikimedia\Rdbms\PostgresField\type().