title: Grails: what is the return type of DomainClass.findAllBy*?
body: <p>grails has documentation for <a href="http://www.grails.org/doc/2.2.1/ref/Domain%20Classes/findAllBy.html" rel="nofollow">findAllBy*</a>, but it doesn't tell you what it returns, or how to use it.  E.g.</p>
  
  <pre><code>def results = Book.findAllByTitleLike("%Hobbit%)
  </code></pre>
  
  <p>is results a map?  a set? a List? a special object with paging and extra features, and contains a collection of Books?</p>
  
  <p>intellij has no clue what the type or results is (it thinks its a single Book) , the official grails documentation doesn't tell you, Google returns no examples (that I can find), so how could one find such info out?</p>
  
  <p>What is returned if no books are found?  Null? and empty collection of some sort?
  how does one safely determine the number of books found?
  how does one access the returned books?
  Are they ordered?</p>