From b2836ae0417d30720f4b5a0fdc7baf8fd7bcbc17 Mon Sep 17 00:00:00 2001 From: Stephen Shkardoon Date: Tue, 15 Apr 2014 13:07:54 +1200 Subject: [PATCH] MINOR Clarify DataQuery::where functionality As per the doc type, this method will append a new filter, not *set* one. --- model/DataQuery.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/model/DataQuery.php b/model/DataQuery.php index 6f7723f14..07179f45c 100644 --- a/model/DataQuery.php +++ b/model/DataQuery.php @@ -422,7 +422,7 @@ class DataQuery { } /** - * Set the GROUP BY clause of this query. + * Append a GROUP BY clause to this query. * * @param String $groupby Escaped SQL statement */ @@ -432,7 +432,7 @@ class DataQuery { } /** - * Set the HAVING clause of this query. + * Append a HAVING clause to this query. * * @param String $having Escaped SQL statement */ @@ -464,7 +464,7 @@ class DataQuery { } /** - * Set the WHERE clause of this query. + * Append a WHERE clause to this query. * There are two different ways of doing this: * * @@ -485,7 +485,7 @@ class DataQuery { } /** - * Set a WHERE with OR. + * Append a WHERE with OR. * * @example $dataQuery->whereAny(array("\"Monkey\" = 'Chimp'", "\"Color\" = 'Brown'")); * @see where()