Helper to prepare joins necessary to select terms from new term store in db.
More...
Helper to prepare joins necessary to select terms from new term store in db.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Store\Sql\Terms\DatabaseEntityTermsTableProvider::__construct |
( |
string |
$entityType | ) |
|
- Parameters
-
string | $entityType | one of the supported types: Item::ENTITY_TYPE or Property::ENTITY_TYPE |
◆ getEntityTermsTableAndJoinConditions()
Wikibase\Repo\Store\Sql\Terms\DatabaseEntityTermsTableProvider::getEntityTermsTableAndJoinConditions |
( |
| ) |
|
Constructs a table along the necessary joins with new store tables for selecting entity terms referenced in $entityTermsTable through $entityTermsJoinColumn column.
- Returns
- array with the following elements in order:
- table: the final table (array, including the joins)
- join conditions
- entity id column: the column name that contains the entity id within the top-most entity terms table
◆ $entityIdColumn
Wikibase\Repo\Store\Sql\Terms\DatabaseEntityTermsTableProvider::$entityIdColumn |
|
private |
◆ $entityTermsJoinColumn
Wikibase\Repo\Store\Sql\Terms\DatabaseEntityTermsTableProvider::$entityTermsJoinColumn |
|
private |
◆ $entityTermsTable
Wikibase\Repo\Store\Sql\Terms\DatabaseEntityTermsTableProvider::$entityTermsTable |
|
private |
The documentation for this class was generated from the following file: