title: Grails Query, How to get a specific field in the result?
body: <p>I have the domain class:</p>
  
  <pre><code>class Product {
  
      String barcode
      String name
      String measurement
  
      static constraints = {
  
      }
  }
  </code></pre>
  
  <p>Now, I want to get a list with only one field like "name":</p>
  
  <blockquote>
    <p>Product.findAllByNameIlike("%$params.name%",[order: "desc" ])</p>
  </blockquote>