Permalink
Browse files

readme

  • Loading branch information...
1 parent 6fa9b45 commit 71d10225017e745c3003f28aa315d6fa64be4655 Robert Poole committed Jul 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -605,8 +605,8 @@ Person.defineClause('clauseName', function(arg1, arg2, ...) {
return this.where('id < ?', arg1).orderBy('id').limit(5);
});
-Person.clauseName().all(connection, function(err, people) {
- // All the people with id < arg1, ordered by id and limited to 5
+Person.clauseName(5).all(connection, function(err, people) {
+ // All the people with id < 5, ordered by id and limited to 5
});
```
<a name="modelOnSave" />

0 comments on commit 71d1022

Please sign in to comment.