MediaWiki REL1_33
Wikimedia\Rdbms\Field Interface Reference

Base for all database-specific classes representing information about database fields. More...

Inheritance diagram for Wikimedia\Rdbms\Field:

Public Member Functions

 isNullable ()
 Whether this field can store NULL values.
 
 name ()
 Field name.
 
 tableName ()
 Name of table this field belongs to.
 
 type ()
 Database type.
 

Detailed Description

Base for all database-specific classes representing information about database fields.

Definition at line 9 of file Field.php.

Member Function Documentation

◆ isNullable()

Wikimedia\Rdbms\Field::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implemented in ORAField, Wikimedia\Rdbms\MssqlField, Wikimedia\Rdbms\MySQLField, Wikimedia\Rdbms\PostgresField, and Wikimedia\Rdbms\SQLiteField.

◆ name()

Wikimedia\Rdbms\Field::name ( )

◆ tableName()

Wikimedia\Rdbms\Field::tableName ( )

Name of table this field belongs to.

Returns
string

Implemented in ORAField, Wikimedia\Rdbms\MssqlField, Wikimedia\Rdbms\MySQLField, Wikimedia\Rdbms\PostgresField, and Wikimedia\Rdbms\SQLiteField.

◆ type()

Wikimedia\Rdbms\Field::type ( )

The documentation for this interface was generated from the following file: