| MediaWiki file: NameTableStore.php | |
|---|---|
| Location: | includes/Storage/ |
| Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
| Classes: | MediaWiki\Storage\NameTableStore |
NameTableStore is used for normalized data storage. It is a service that can convert a name into an ID (potentially assigning a new ID and storing the association in the database, if the name hasn't been used before) and back.
A separate instance of the service is used for each table. In core, these services can be obtained via NameTableStoreFactory. Currently used for the content_models, slot_roles and change_tag_def tables.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.