Overview

Namespaces

  • None
  • RedBeanPHP
    • Adapter
    • BeanHelper
    • Cursor
    • Driver
    • Logger
      • RDefault
    • QueryWriter
    • RedException
    • Repository
    • Util

Classes

  • NullCursor
  • PDOCursor
  • Overview
  • Namespace
  • Class

Class PDOCursor

PDO Database Cursor Implementation of PDO Database Cursor. Used by the BeanCollection to fetch one bean at a time.

RedBeanPHP\Cursor\PDOCursor implements RedBeanPHP\Cursor
Namespace: RedBeanPHP\Cursor
Copyright:

(c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community. This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.


License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/Cursor/PDOCursor.php
Located at Cursor/PDOCursor.php
Methods summary
public
# __construct( PDOStatement $res, string $fetchStyle )

Constructor, creates a new instance of a PDO Database Cursor.

Constructor, creates a new instance of a PDO Database Cursor.

Parameters

$res
the PDO statement
$fetchStyle
fetch style constant to use
public array
# getNextItem( )

Returns

array

See

Cursor::getNextItem

Implementation of

RedBeanPHP\Cursor::getNextItem()
public
# close( )

See

Cursor::close

Implementation of

RedBeanPHP\Cursor::close()
Properties summary
protected PDOStatement $res
#
protected string $fetchStyle
#
API documentation generated by ApiGen