PHP Класс 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.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Описание методов
__construct()
публичный Метод
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 |
Результат |
void |
|
getNextItem()
публичный Метод
Описание свойств
$fetchStyle защищенное свойство
protected string $fetchStyle |
Результат |
string |
|
protected PDOStatement $res |
Результат |
PDOStatement |
|