48 $this->result = $result->result;
55 return $this->
getDB()->numRows( $this );
59 return $this->
getDB()->fetchObject( $this );
63 return $this->
getDB()->fetchRow( $this );
66 public function seek( $row ) {
67 $this->
getDB()->dataSeek( $this, $row );
72 $this->db->freeResult( $this );
84 throw new RuntimeException( static::class .
' needs a DB handle for iteration.' );
92 $this->
getDB()->dataSeek( $this, 0 );
95 $this->currentRow =
null;
99 if ( is_null( $this->currentRow ) ) {
118 return $this->
current() !==
false;
125class_alias( ResultWrapper::class,
'ResultWrapper' );
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))