Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\Sql\PageTableEntityQuery Interface Reference

Interface to run a query to find an entity of given ID within the mediawiki page table and also map resulting rows back to the entity IDs they relate to. More...

+ Inheritance diagram for Wikibase\Lib\Store\Sql\PageTableEntityQuery:

Public Member Functions

 selectRows (array $fields, array $joins, array $entityIds, IDatabase $db)
 

Detailed Description

Interface to run a query to find an entity of given ID within the mediawiki page table and also map resulting rows back to the entity IDs they relate to.

Member Function Documentation

◆ selectRows()

Wikibase\Lib\Store\Sql\PageTableEntityQuery::selectRows ( array  $fields,
array  $joins,
array  $entityIds,
IDatabase  $db 
)
Parameters
array$fieldsFields to select
array$joinsJoins to use, Keys must be table names.
EntityId[]$entityIdsEntityIds to select
IDatabase$dbDB to query on
Returns
\stdClass[] Array of rows with keys of their entity ID serializations

Implemented in Wikibase\Lib\Store\Sql\PageTableEntityQueryBase.


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