MediaWiki  master
Field.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Wikimedia\Rdbms;
4 
9 interface Field {
14  function name();
15 
20  function tableName();
21 
26  function type();
27 
32  function isNullable();
33 }
34 
38 class_alias( Field::class, 'Field' );
Wikimedia\Rdbms
Definition: ChronologyProtector.php:24
Wikimedia\Rdbms\Field\isNullable
isNullable()
Whether this field can store NULL values.
Wikimedia\Rdbms\Field\type
type()
Database type.
Wikimedia\Rdbms\Field
Base for all database-specific classes representing information about database fields.
Definition: Field.php:9
Wikimedia\Rdbms\Field\name
name()
Field name.
Wikimedia\Rdbms\Field\tableName
tableName()
Name of table this field belongs to.