Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #698

Merged
merged 14 commits into from
Nov 29, 2017
Next Next commit
fixed limit variable ordering in the comments
  • Loading branch information
avbdr committed Aug 2, 2017
commit 1fb2d706c4f263d8c210ad3b16812ae68958bacb
10 changes: 5 additions & 5 deletions MysqliDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ public function rawQueryValue($query, $bindParams = null)
* A method to perform select query
*
* @param string $query Contains a user-provided select query.
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
*
* @return array Contains the returned rows from the query.
*/
Expand Down Expand Up @@ -654,7 +654,7 @@ public function withTotalCount()
* A convenient SELECT * function.
*
* @param string $tableName The name of the database table to work with.
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count
* @param string $columns Desired columns
*
Expand Down Expand Up @@ -858,7 +858,7 @@ public function update($tableName, $tableData, $numRows = null)
* Delete query. Call the "where" method first.
*
* @param string $tableName The name of the database table to work with.
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count
*
* @return bool Indicates success. 0 or 1.
Expand Down Expand Up @@ -1474,7 +1474,7 @@ private function _buildInsert($tableName, $insertData, $operation)
* any passed update data, and the desired rows.
* It then builds the SQL query.
*
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count
* @param array $tableData Should contain an array of data for updating the database.
*
Expand Down Expand Up @@ -1868,7 +1868,7 @@ protected function _buildOrderBy()
/**
* Abstraction method that will build the LIMIT part of the WHERE statement
*
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count
*
* @return void
Expand Down