Esempio n. 1
0
/**
 * Executes the SQL Query and fetches all the rows from the database query
 *
 * @see Piwik_Sql::fetchAll
 *
 * @param string  $sqlQuery    SQL Query
 * @param array   $parameters  Parameters to bind in the query, array( param1 => value1, param2 => value2)
 * @return array  (one row in the array per row fetched in the DB)
 */
function Piwik_FetchAll($sqlQuery, $parameters = array())
{
    return Piwik_Sql::fetchAll($sqlQuery, $parameters);
}