MediaWiki  1.28.0
Field Interface Reference

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

Inheritance diagram for 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 6 of file Field.php.

Member Function Documentation

Field::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implemented in PostgresField, MySQLField, ORAField, SQLiteField, and MssqlField.

Field::name ( )

Field name.

Returns
string

Implemented in PostgresField, MySQLField, ORAField, MssqlField, and SQLiteField.

Field::tableName ( )

Name of table this field belongs to.

Returns
string

Implemented in PostgresField, MySQLField, ORAField, MssqlField, and SQLiteField.

Field::type ( )

Database type.

Returns
string

Implemented in PostgresField, ORAField, MySQLField, SQLiteField, and MssqlField.


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