MediaWiki
REL1_35
SchemaBuilder.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
11
interface
SchemaBuilder
{
12
31
public
function
addTable
( array $schema );
32
36
public
function
getSql
();
37
}
Wikimedia\Rdbms\SchemaBuilder
Interface SchemaBuilder that gets a definition and produces SQL based on RDBMS.
Definition
SchemaBuilder.php:11
Wikimedia\Rdbms\SchemaBuilder\getSql
getSql()
Wikimedia\Rdbms\SchemaBuilder\addTable
addTable(array $schema)
An example of $schema value: [ 'name' => 'actor', 'columns' => [ [ 'actor_id', 'bigint',...
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
database
SchemaBuilder.php
Generated on Sat Apr 6 2024 00:07:26 for MediaWiki by
1.9.8