summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2011-01-22 11:28:39 +0000
committerJamie Matthews <[email protected]>2011-01-22 11:28:39 +0000
commitb384bf764d2cfa97af89467203efc818b2791399 (patch)
tree6c13eda031bd5b0e1493e3434c995ff1c35ed583
parent46cad2491c4eadef1c4538b3a0afa9650a6e4c38 (diff)
Reword GROUP BY docs
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 64b5595..b9f8567 100644
--- a/README.markdown
+++ b/README.markdown
@@ -186,7 +186,7 @@ Two methods are provided to add `ORDER BY` clauses to your query. These are `ord
*Note that this method **does not** escape it query parameter and so this should **not** by passed directly from user input.*
-To add a column to GROUP BY to your query, call the `group_by` method, passing in the column name.
+To add a `GROUP BY` clause to your query, call the `group_by` method, passing in the column name. You can call this method multiple times to add further columns.
$poeple = ORM::for_table('person')->where('gender', 'female')->group_by('name')->find_many();