/** * Return the number of fields in the result. * * @throws \Pop\Db\Adapter\Exception * @return int */ public function numFields() { if (isset($this->statement)) { $this->statement->store_result(); return $this->statement->field_count; } else { if (isset($this->result)) { return $this->connection->field_count; } else { throw new Exception('Error: The database result resource is not currently set.'); } } }
public function execute() { return parent::execute(); }