MediaWiki  1.30.0
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. More...
 
 name ()
 Field name. More...
 
 tableName ()
 Name of table this field belongs to. More...
 
 type ()
 Database type. More...
 

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 Wikimedia\Rdbms\PostgresField, Wikimedia\Rdbms\MySQLField, ORAField, Wikimedia\Rdbms\SQLiteField, and Wikimedia\Rdbms\MssqlField.

◆ name()

Wikimedia\Rdbms\Field::name ( )

◆ tableName()

Wikimedia\Rdbms\Field::tableName ( )

Name of table this field belongs to.

Returns
string

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

◆ type()

Wikimedia\Rdbms\Field::type ( )

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