35 return $this->pdo_statement->fetch(PDO::FETCH_ASSOC);
37 return $this->pdo_statement->fetch(PDO::FETCH_OBJ);
39 throw new ilDatabaseException(
"No valid fetch mode given, choose ilDBConstants::FETCHMODE_ASSOC or ilDBConstants::FETCHMODE_OBJECT");
59 $this->pdo_statement->closeCursor();
68 return $this->pdo_statement->rowCount();
95 return $this->pdo_statement->rowCount();
104 $this->pdo_statement->execute($a_data);
114 return $this->pdo_statement->errorCode();
122 return $this->pdo_statement->errorInfo();
__construct(PDOStatement $pdo_statement)
Class ilPDOStatement is a Wrapper Class for PDOStatement.
fetch($fetch_mode=ilDBConstants::FETCHMODE_ASSOC)
Class ilDatabaseException.
closeCursor()
Pdo allows for a manual closing of the cursor.
fetchRow($fetch_mode=ilDBConstants::FETCHMODE_ASSOC)