MediaWiki  1.30.0
Wikimedia\Rdbms\MssqlResultWrapper Class Reference
Inheritance diagram for Wikimedia\Rdbms\MssqlResultWrapper:
Collaboration diagram for Wikimedia\Rdbms\MssqlResultWrapper:

Public Member Functions

 fetchObject ()
 
 fetchRow ()
 
 seek ( $row)
 
- Public Member Functions inherited from Wikimedia\Rdbms\ResultWrapper
 __construct (IDatabase $db=null, $result)
 Create a row iterator from a result resource and an optional Database object. More...
 
 current ()
 
 free ()
 Free a result object. More...
 
 key ()
 
 next ()
 
 numRows ()
 Get the number of rows in a result object. More...
 
 rewind ()
 
 valid ()
 

Private Attributes

int null $mSeekTo = null
 

Additional Inherited Members

- Public Attributes inherited from Wikimedia\Rdbms\ResultWrapper
resource array null $result
 Optional underlying result handle for subclass usage. More...
 
- Protected Attributes inherited from Wikimedia\Rdbms\ResultWrapper
stdClass null $currentRow = null
 
IDatabase null $db
 
int $pos = 0
 

Detailed Description

Definition at line 7 of file MssqlResultWrapper.php.

Member Function Documentation

◆ fetchObject()

Wikimedia\Rdbms\MssqlResultWrapper::fetchObject ( )
Returns
stdClass|bool

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 14 of file MssqlResultWrapper.php.

References $res, and Wikimedia\Rdbms\ResultWrapper\$result.

◆ fetchRow()

Wikimedia\Rdbms\MssqlResultWrapper::fetchRow ( )
Returns
array|bool

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 36 of file MssqlResultWrapper.php.

References $res, and Wikimedia\Rdbms\ResultWrapper\$result.

◆ seek()

Wikimedia\Rdbms\MssqlResultWrapper::seek (   $row)
Parameters
int$row
Returns
bool

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 59 of file MssqlResultWrapper.php.

References $res, and Wikimedia\Rdbms\ResultWrapper\$result.

Member Data Documentation

◆ $mSeekTo

int null Wikimedia\Rdbms\MssqlResultWrapper::$mSeekTo = null
private

Definition at line 9 of file MssqlResultWrapper.php.


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