34 $queryBuilder = MediaWikiServices::getInstance()->getRevisionStore()->newSelectQueryBuilder( $db )
38 ->where( [
'rev_page' => $this->page->getId() ] )
39 ->orderBy(
'rev_id', SelectQueryBuilder::SORT_DESC );
40 if ( $this->ids !==
null ) {
41 $queryBuilder->andWhere( [
'rev_id' => array_map(
'intval', $this->ids ) ] );
43 return $queryBuilder->caller( __METHOD__ )->fetchResultSet();
Item class for a live revision table row.
List for revision table items for a single page.
newItem( $row)
Create an item object from a DB result row.RevisionItemBase
doQuery( $db)
Do the DB query to iterate through the objects.DB object to use for the query IResultWrapper
getType()
Get the internal type name of this list.Equal to the table name. Override this function....