PHP Class RedBeanPHP\Cursor\PDOCursor
Used by the BeanCollection to fetch one bean at a time.
The PDO Cursor is used by Query Writers to support retrieval
of large bean collections. For instance, this class is used to
implement the findCollection()/BeanCollection functionality.
Show file
Open project: gabordemooij/redbean
Protected Properties
Public Methods
Method Details
__construct()
public method
Constructor, creates a new instance of a PDO Database Cursor.
public __construct ( PDOStatement $res, string $fetchStyle ) : void |
$res |
PDOStatement |
the PDO statement |
$fetchStyle |
string |
fetch style constant to use |
return |
void |
|
getNextItem()
public method
Property Details
$fetchStyle protected property
protected string $fetchStyle |
return |
string |
|
protected PDOStatement $res |
return |
PDOStatement |
|