PreparedStatement

class OC\DB\PreparedStatement
Adapts our public API to what doctrine/dbal exposed with 2.6
The old dbal statement had stateful methods e.g. to fetch data from an executed
prepared statement. To provide backwards compatibility to apps we need to make
this class stateful. As soon as those now deprecated exposed methods are gone,
we can limit the API of this adapter to the methods that map to the direct dbal
methods without much magic.
Source:lib/private/DB/PreparedStatement.php#44
Implements:OCP\DB\IPreparedStatement

Properties

Methods

public OC\DB\PreparedStatement::__construct($statement)
Source:lib/private/DB/PreparedStatement.php#52
public OC\DB\PreparedStatement::closeCursor()
Source:lib/private/DB/PreparedStatement.php#56
public OC\DB\PreparedStatement::fetch($fetchMode=\PDO::FETCH_ASSOC)
Source:lib/private/DB/PreparedStatement.php#62
public OC\DB\PreparedStatement::fetchAll($fetchMode=\PDO::FETCH_ASSOC)
Source:lib/private/DB/PreparedStatement.php#66
public OC\DB\PreparedStatement::fetchColumn()
Source:lib/private/DB/PreparedStatement.php#70
public OC\DB\PreparedStatement::fetchOne()
Source:lib/private/DB/PreparedStatement.php#74
public OC\DB\PreparedStatement::bindValue($param, $value, $type=\Doctrine\DBAL\ParameterType::STRING)
Source:lib/private/DB/PreparedStatement.php#78
public OC\DB\PreparedStatement::bindParam($param, &$variable, $type=\Doctrine\DBAL\ParameterType::STRING, $length=null)
Source:lib/private/DB/PreparedStatement.php#82
public OC\DB\PreparedStatement::execute($params=null)
Source:lib/private/DB/PreparedStatement.php#86
public OC\DB\PreparedStatement::rowCount()
Source:lib/private/DB/PreparedStatement.php#90