From 50675f717e706851a8f11041ec0f9203823e4d69 Mon Sep 17 00:00:00 2001 From: Hayden Smith Date: Fri, 8 Aug 2008 04:02:34 +0000 Subject: [PATCH] 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 --- core/model/SQLQuery.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/model/SQLQuery.php b/core/model/SQLQuery.php index d4cc01090..f11d67bf3 100755 --- a/core/model/SQLQuery.php +++ b/core/model/SQLQuery.php @@ -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; @@ -167,4 +169,4 @@ class SQLQuery extends Object { } } -?> \ No newline at end of file +?>