A cursor is used by Query Writers to fetch Query Result rows one row at a time. This is useful if you expect the result set to be quite large. This interface dscribes the API of a database cursor. There can be multiple implementations of the Cursor, by default RedBeanPHP offers the PDOCursor for drivers shipping with RedBeanPHP and the NULLCursor.
Author: Gabor de Mooij and the RedBeanPHP Community
Example #1
0
 /**
  * Closes the underlying cursor (needed for some databases).
  *
  * @return void
  */
 public function close()
 {
     $this->cursor->close();
 }