File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -280,15 +280,14 @@ public function setPrefix($prefix = '')
280280 }
281281
282282 /**
283- * Pass in a raw query and an array containing the parameters to bind to the prepaird statement .
283+ * Execute raw SQL query .
284284 *
285- * @param string $query Contains a user-provided query.
286- * @param array $bindParams All variables to bind to the SQL statment.
287- * @param bool $sanitize If query should be filtered before execution
285+ * @param string $query User-provided query to execute.
286+ * @param array $bindParams Variables array to bind to the SQL statement.
288287 *
289288 * @return array Contains the returned rows from the query.
290289 */
291- public function rawQuery ($ query , $ bindParams = null , $ sanitize = true )
290+ public function rawQuery ($ query , $ bindParams = null )
292291 {
293292 $ params = array ('' ); // Create the empty 0 index
294293 $ this ->_query = $ query ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ MysqliDb -- Simple MySQLi wrapper and object mapper with prepared statements
77** [ Update Query] ( #update-query ) **
88** [ Select Query] ( #select-query ) **
99** [ Delete Query] ( #delete-query ) **
10- ** [ Running raw SQL queries] ( #running-raw-sql-queries ) **
10+ ** [ Running raw SQL queries] ( #running-raw-sql-queries ) **
1111** [ Query Keywords] ( #query-keywords ) **
1212** [ Raw Query] ( #raw-query-method ) **
1313** [ Where Conditions] ( #where-method ) **
You can’t perform that action at this time.
0 commit comments