jdaugherty opened a new issue, #219:
URL: https://github.com/apache/grails-intellij-plugin/issues/219

   Completion of fields, navigation, resolve.
   
   Before Grails 3:
   ```
   def query = Person.withCritera {
       or {
           and {
               ne 'lastName', 'Simpson'
               ne 'firstName', 'Fred'
           }
           and {
   ​
               eq 'firstname', "Bart"
               gt 'age', 9
           }
   
       }
   }
   ```
   Now it is possible to write as:
   ```
   def query = Person.where {
       (lastName != "Simpson" && firstName != "Fred") || (firstName == "Bart" 
&& age > 9)
   }
   ```
   
   ---
   
   *Imported from 
[IDEA-145856](https://youtrack.jetbrains.com/issue/IDEA-145856) · Type: Bug · 
Votes: 2*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to