You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:27:54 UTC
[I] Grails 3: detached criteria AST transformation support [grails-intellij-plugin]
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: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org