Is there a shorter/cleaner way than DomainClass.findAll()[0]
to retrieve the first domain object in the set of domain objects that would normally be retrieved by findAll()
?
Ideally, I'd like DomainClass.find()
but such a finder does not exist.