Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
ConfigPreloadPrimaryKeyTableMutator Class Reference

Public Member Functions

const hasKey (string $tableName)
 
 getKey (string $tableName)
 

Public Attributes

const PRIMARY_KEYS
 

Detailed Description

This profile adds primary keys to Semantic MediaWiki owned tables to help DB environments like Percona XtraDB Cluster (#4724, #4507) that require those keys.

Beware that while the profile is provided as part of the Semantic MediaWiki software it does NOT imply that systems like Percona are officially supported as there is no test setup that runs the required test suite.

See also
https://www.semantic-mediawiki.org/wiki/Config_preloading
Since
3.2

Member Function Documentation

◆ getKey()

ConfigPreloadPrimaryKeyTableMutator::getKey ( string  $tableName)
Parameters
string$tableName

◆ hasKey()

const ConfigPreloadPrimaryKeyTableMutator::hasKey ( string  $tableName)
Parameters
string$tableName

Member Data Documentation

◆ PRIMARY_KEYS

const ConfigPreloadPrimaryKeyTableMutator::PRIMARY_KEYS
Initial value:
= [
'smw_di_blob' => 's_id,p_id,o_hash'

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy