手册:$wgExtNewIndexes

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgExtNewIndexes and the translation is 67% complete.

Other languages:
English • ‎español • ‎magyar • ‎polski • ‎中文 • ‎日本語
扩展: $wgExtNewIndexes
Extension defined indexes to be added to existing tables
引进版本:1.11.0 (r23759)
移除版本:仍在使用
允许的值:(参见下方)
默认值:array()

详情

被用于添加已存表的索引。 For PostgreSQL, you can add the index clause instead of a filename.

用法

$wgExtNewIndexes[] = array( 'tablename', 'indexname', 'schema_file.sql' );

## Postgres only:
$wgExtNewIndexes[] = array( 'tablename', 'indexname', '(columns)' );

參見