/** * Returns number os rows of the query. * This function is for simple of name * @return integer */ public function count($type = 'row') { if ($type == 'row') { return sasql_num_rows($this->result); } return sasql_num_fields($this->connection); }
/** * Number of rows in the result set * * @access public * @return integer */ function num_rows() { return @sasql_num_rows($this->result_id); }
/** * Affected Rows * * @access public * @return integer */ function affected_rows() { return @sasql_num_rows($this->conn_id); }
/** * Return the number of rows returned from the SELECT query qid. */ function db_num_rows($qid = false) { return sasql_num_rows($qid); }