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