Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 6210af6a91096d73e3cca13c28e7f087388f593c 2 parents c762ce1 + 5f6f9d5
@jeffbrown jeffbrown authored
View
3  src/en/ref/Domain Classes/first.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:
View
3  src/en/ref/Domain Classes/last.gdoc
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.