MediaWiki
REL1_37
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
dbal
SchemaBuilder.php
Generated on Fri Apr 5 2024 23:40:30 for MediaWiki by
1.9.8