MediaWiki REL1_37
Wikimedia\Rdbms Namespace Reference

Classes

class  AtomicSectionIdentifier
 Class used for token representing identifiers for atomic sections from IDatabase instances. More...
 
class  Blob
 @newable More...
 
class  ChronologyProtector
 Provide a given client with protection against visible database lag. More...
 
class  ConnectionManager
 Database connection manager. More...
 
class  Database
 Relational database abstraction object. More...
 
class  DatabaseDomain
 Class to handle database/schema/prefix specifications for IDatabase. More...
 
class  DatabaseMysqlBase
 Database abstraction object for MySQL. More...
 
class  DatabaseMysqli
 Database abstraction object for PHP extension mysqli. More...
 
class  DatabasePostgres
 
class  DatabaseSqlite
 
class  DBAccessError
 Exception class for attempted DB access @newable. More...
 
class  DBConnectionError
 @newable More...
 
class  DBConnRef
 Helper class used for automatically marking an IDatabase connection as reusable (once it no longer matters which DB domain is selected) and for deferring the actual network connection. More...
 
class  DBError
 Database error base class @newable. More...
 
class  DBExpectedError
 Base class for the more common types of database errors. More...
 
interface  DBPrimaryPos
 An object representing a primary or replica DB position in a replicated setup. More...
 
class  DBQueryDisconnectedError
 @newable More...
 
class  DBQueryError
 @newable More...
 
class  DBQueryTimeoutError
 Error thrown when a query times out. More...
 
class  DBReadOnlyError
 @newable More...
 
class  DBReadOnlyRoleError
 Exception class for attempted DB write access to a DBConnRef with the DB_REPLICA role. More...
 
class  DBReplicationWaitError
 Exception class for replica DB wait errors @newable. More...
 
class  DBTransactionError
 @newable More...
 
class  DBTransactionSizeError
 @newable More...
 
class  DBTransactionStateError
 @newable More...
 
class  DBUnexpectedError
 @newable More...
 
class  DoctrineSchemaBuilder
 @experimental More...
 
class  DoctrineSchemaBuilderFactory
 @experimental More...
 
class  DoctrineSchemaChangeBuilder
 @experimental More...
 
class  EnumType
 Custom handling for ENUM datatype. More...
 
class  FakeResultWrapper
 Overloads the relevant methods of the real ResultWrapper so it doesn't go anywhere near an actual database. More...
 
interface  Field
 Base for all database-specific classes representing information about database fields. More...
 
class  GeneralizedSql
 Lazy-loaded wrapper for simplification and scrubbing of SQL queries for profiling. More...
 
interface  IBlob
 Wrapper allowing us to distinguish a blob from a normal string and an array of strings. More...
 
interface  IDatabase
 Basic database interface for live and lazy-loaded relation database handles. More...
 
interface  ILBFactory
 An interface for generating database load balancers. More...
 
interface  ILoadBalancer
 Database cluster connection, tracking, load balancing, and transaction manager interface. More...
 
interface  ILoadMonitor
 An interface for database load monitoring. More...
 
interface  IMaintainableDatabase
 Advanced database interface for IDatabase handles that include maintenance methods. More...
 
interface  IResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
class  JoinGroup
 An object representing a parenthesized group of tables and their join types and conditions. More...
 
class  JoinGroupBase
 A class for code shared between SelectQueryBuilder and JoinGroup. More...
 
class  LBFactory
 An interface for generating database load balancers. More...
 
class  LBFactoryMulti
 A multi-database, multi-primary DB factory for Wikimedia and similar installations. More...
 
class  LBFactorySimple
 A simple single-primary DB LBFactory that gets its configuration from the b/c globals. More...
 
class  LBFactorySingle
 An LBFactory class that always returns a single database object. More...
 
class  LikeMatch
 Used by Database::buildLike() to represent characters that have special meaning in SQL LIKE clauses and thus need no escaping. More...
 
class  LoadBalancer
 Database connection, tracking, load balancing, and transaction manager for a cluster. More...
 
class  LoadBalancerSingle
 Trivial LoadBalancer that always returns an injected connection handle. More...
 
class  LoadMonitor
 Basic DB load monitor with no external dependencies. More...
 
class  LoadMonitorMySQL
 Basic MySQL load monitor with no external dependencies Uses memcached to cache the replication lag for a short time. More...
 
class  LoadMonitorNull
 
class  MaintainableDBConnRef
 Helper class to handle automatically marking connections as reusable (via RAII pattern) as well handling deferring the actual network connection until the handle is used. More...
 
class  MWMySQLPlatform
 
class  MWPostgreSqlPlatform
 
class  MySQLField
 
class  MysqliResultWrapper
 
class  MySQLPrimaryPos
 DBPrimaryPos class for MySQL/MariaDB. More...
 
class  NextSequenceValue
 Used by Database::nextSequenceValue() so Database::insert() can detect values coming from the deprecated function. More...
 
class  PostgresBlob
 @newable More...
 
class  PostgresField
 
class  PostgresResultWrapper
 
class  ResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
interface  SchemaBuilder
 Interface SchemaBuilder that gets a definition and produces SQL based on RDBMS. More...
 
interface  SchemaChangeBuilder
 Interface SchemaChangeBuilder that gets a definition and produces ALTER TABLE SQL based on RDBMS. More...
 
class  SelectQueryBuilder
 
class  SessionConsistentConnectionManager
 Database connection manager. More...
 
class  SQLiteField
 
class  SqliteResultWrapper
 
class  Subquery
 
class  TimestampType
 Handling timestamp edge cases in mediawiki. More...
 
class  TinyIntType
 Handling smallest integer data type. More...
 
class  TransactionProfiler
 Detect high-contention DB queries via profiling calls. More...
 

Functions

 addTableToSchema (Schema $schema, array $schemaSpec)
 

Variables

trait DoctrineAbstractSchemaTrait
 Trait for schema spec of doctrine-based abstract schema.
 

Function Documentation

◆ addTableToSchema()

Wikimedia\Rdbms\addTableToSchema ( Schema  $schema,
array  $schemaSpec 
)
private

Variable Documentation

◆ DoctrineAbstractSchemaTrait

trait Wikimedia::Rdbms\DoctrineAbstractSchemaTrait
Initial value:
{
private $platform

Trait for schema spec of doctrine-based abstract schema.

Since
1.36
Access: internal

Definition at line 29 of file DoctrineAbstractSchemaTrait.php.