Permalink
Browse files

Merge branch '2.1.x'

Conflicts:
	src/en/ref/Domain Classes/first.gdoc
	src/en/ref/Domain Classes/last.gdoc
  • Loading branch information...
2 parents c762ce1 + 5f6f9d5 commit 6210af6a91096d73e3cca13c28e7f087388f593c @jeffbrown jeffbrown committed Sep 7, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/en/ref/Domain Classes/first.gdoc
  2. +3 −0 src/en/ref/Domain Classes/last.gdoc
@@ -22,6 +22,9 @@ def p = Person.first()
// retrieve the first person ordered by the lastName property
p = Person.first(sort: 'lastName')
+
+// retrieve the first person ordered by the lastName property
+p = Person.first('lastName')
{code}
Parameters:
@@ -22,6 +22,9 @@ def p = Person.last()
// retrieve the last person ordered by the lastName property
p = Person.last(sort: 'lastName')
+
+// retrieve the last person ordered by the lastName property
+p = Person.last('lastName')
{code}
Parameters:

0 comments on commit 6210af6

Please sign in to comment.