Doctrine\DBAL\Driver\ResultStatement
Interface for the reading part of a prepare statement only.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
interface ResultStatement
extends Traversable
{
- // methods
- public boolean closeCursor()
- public integer columnCount()
- public void setFetchMode()
- public mixed fetch()
- public array fetchAll()
- public string fetchColumn()
Hierarchy
Extends
Extended by
Implemented by
Methods
public
- closeCursor() — Closes the cursor, enabling the statement to be executed again.
- columnCount() — columnCount Returns the number of columns in the result set
- fetch() — fetch
- fetchAll() — Returns an array containing all of the result set rows
- fetchColumn() — fetchColumn Returns a single column from the next row of a result set or FALSE if there are no more rows.
- setFetchMode() — setFetchMode Set the fetch mode to use while iterating this statement.