MediaWiki
1.28.0
|
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 2 of file PostgresField.php.
PostgresField::conname | ( | ) |
PostgresField::defaultValue | ( | ) |
|
static |
DatabasePostgres | $db | |
string | $table | |
string | $field |
Definition at line 12 of file PostgresField.php.
References $res, DatabasePostgres\addQuotes(), and(), conname(), DatabasePostgres\fetchObject(), FROM, DatabasePostgres\getCoreSchema(), n, on, Database\query(), DatabasePostgres\remappedTableName(), and type().
Referenced by DatabasePostgres\fieldInfo().
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.
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.
Implements Field.
Definition at line 64 of file PostgresField.php.
References $name.
PostgresField::tableName | ( | ) |
Name of table this field belongs to.
Implements Field.
Definition at line 68 of file PostgresField.php.
References $tablename.
PostgresField::type | ( | ) |
Database type.
Implements Field.
Definition at line 72 of file PostgresField.php.
References $type.
Referenced by fromText().
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().
|
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().