Merged [46973]: Notes a correction that will need to be made in the future.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60162 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Hayden Smith 2008-08-08 04:02:34 +00:00
parent 5ca1e0b744
commit 50675f717e

View File

@ -156,6 +156,8 @@ class SQLQuery extends Object {
/**
* Return the number of rows in this query if the limit were removed. Useful in paged data sets.
* @return int
*
* TODO Respect HAVING and GROUPBY, which can affect the result-count
*/
function unlimitedRowCount( $column = "*" ) {
$clone = clone $this;