Skip to content

Commit

Permalink
Merge pull request #4050 from kenjis/fix-countAll
Browse files Browse the repository at this point in the history
Fix countAll() docs
  • Loading branch information
MGatner authored Jan 2, 2021
2 parents b9c28d3 + 2627a56 commit 4ea15f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions system/Database/BaseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1319,11 +1319,11 @@ protected function _like($field, string $match = '', string $type = 'AND ', stri
/**
* Platform independent LIKE statement builder.
*
* @param string|null $prefix
* @param string $column
* @param string|null $not
* @param string $bind
* @param boolean $insensitiveSearch
* @param string|null $prefix
* @param string $column
* @param string|null $not
* @param string $bind
* @param boolean $insensitiveSearch
*
* @return string $like_statement
*/
Expand Down Expand Up @@ -1882,7 +1882,7 @@ public function get(int $limit = null, int $offset = 0, bool $reset = true)
* "Count All" query
*
* Generates a platform-specific query string that counts all records in
* the specified database
* the particular table
*
* @param boolean $reset Are we want to clear query builder values?
*
Expand Down
2 changes: 1 addition & 1 deletion user_guide_src/source/database/query_builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ Class Reference
:rtype: int

Generates a platform-specific query string that counts
all records returned by an Query Builder query.
all records in the particular table.

.. php:method:: get([$limit = null[, $offset = null[, $reset = true]]]])
Expand Down

0 comments on commit 4ea15f8

Please sign in to comment.