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 $revisionJoinConds, array $entityIds, IReadableDatabase $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 $revisionJoinConds,
array $entityIds,
IReadableDatabase $db )
Parameters
array$fieldsFields to select
array | null$revisionJoinCondsIf non-null, perform an INNER JOIN against the revision table on these join conditions.
EntityId[]$entityIdsEntityIds to select
IReadableDatabase$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: