\PDOStatement
Synopsis
class PDOStatement
implements
Traversable
{
- // members
- $queryString;
- // methods
- public bool bindColumn()
- public bool bindParam()
- public bool bindValue()
- public bool closeCursor()
- public int columnCount()
- public void debugDumpParams()
- public string errorCode()
- public array errorInfo()
- public bool execute()
- public mixed fetch()
- public array fetchAll()
- public string fetchColumn()
- public mixed fetchObject()
- public mixed getAttribute()
- public array getColumnMeta()
- public bool nextRowset()
- public int rowCount()
- public bool setAttribute()
- public bool setFetchMode()
Hierarchy
Implements
Members
Methods
public
- bindColumn() — Bind a column to a PHP variable
- bindParam() — Binds a parameter to the specified variable name
- bindValue() — Binds a value to a parameter
- closeCursor() — Closes the cursor, enabling the statement to be executed again.
- columnCount() — Returns the number of columns in the result set
- debugDumpParams() — Dump an SQL prepared command
- errorCode() — Fetch the SQLSTATE associated with the last operation on the statement handle
- errorInfo() — Fetch extended error information associated with the last operation on the statement handle
- execute() — Executes a prepared statement
- fetch() — Fetches the next row from a result set
- fetchAll() — Returns an array containing all of the result set rows
- fetchColumn() — Returns a single column from the next row of a result set
- fetchObject() — Fetches the next row and returns it as an object.
- getAttribute() — Retrieve a statement attribute
- getColumnMeta() — Returns metadata for a column in a result set
- nextRowset() — Advances to the next rowset in a multi-rowset statement handle
- rowCount() — Returns the number of rows affected by the last SQL statement
- setAttribute() — Set a statement attribute
- setFetchMode() — Set the default fetch mode for this statement