Commit c4fd68c6 authored by Alexander Butenko's avatar Alexander Butenko

fix rawQuery prototype and doc

parent 35cc763c
......@@ -280,15 +280,14 @@ class MysqliDb
}
/**
* Pass in a raw query and an array containing the parameters to bind to the prepaird statement.
* Execute raw SQL query.
*
* @param string $query Contains a user-provided query.
* @param array $bindParams All variables to bind to the SQL statment.
* @param bool $sanitize If query should be filtered before execution
* @param string $query User-provided query to execute.
* @param array $bindParams Variables array to bind to the SQL statement.
*
* @return array Contains the returned rows from the query.
*/
public function rawQuery ($query, $bindParams = null, $sanitize = true)
public function rawQuery ($query, $bindParams = null)
{
$params = array(''); // Create the empty 0 index
$this->_query = $query;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment